]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix builds without on-demand support.
authorMichael R Sweet <msweet@msweet.org>
Fri, 14 Jun 2024 19:16:11 +0000 (15:16 -0400)
committerMichael R Sweet <msweet@msweet.org>
Fri, 14 Jun 2024 19:16:11 +0000 (15:16 -0400)
scheduler/conf.c

index c1644d324ecb005b7566b08dece447bd0734b080..88593db3e63d3ba52243093b54444477ad293ba6 100644 (file)
@@ -1048,7 +1048,11 @@ cupsdReadConfiguration(void)
   * as an error and exit!
   */
 
+#ifdef HAVE_ONDEMAND
   if (cupsArrayCount(Listeners) == 0 && !OnDemand)
+#else
+  if (cupsArrayCount(Listeners) == 0)
+#endif // HAVE_ONDEMAND
   {
    /*
     * No listeners!