Skip to content

Commit 4417cd3

Browse files
committed
Fix builds without on-demand support.
1 parent 6131f6a commit 4417cd3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

scheduler/conf.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,11 @@ cupsdReadConfiguration(void)
10481048
* as an error and exit!
10491049
*/
10501050

1051+
#ifdef HAVE_ONDEMAND
10511052
if (cupsArrayCount(Listeners) == 0 && !OnDemand)
1053+
#else
1054+
if (cupsArrayCount(Listeners) == 0)
1055+
#endif // HAVE_ONDEMAND
10521056
{
10531057
/*
10541058
* No listeners!

0 commit comments

Comments
 (0)