r21770 by jghali - #14620: printdialog: only includes cups.h with HAVE_CUPS
scribus-commit
scribus-commit at lists.scribus.net
Sat Feb 11 16:00:15 UTC 2017
Author: jghali
Date: Sat Feb 11 16:00:14 2017
New Revision: 21770
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21770
Log:
#14620: printdialog: only includes cups.h with HAVE_CUPS
Modified:
trunk/Scribus/scribus/ui/printdialog.cpp
Modified: trunk/Scribus/scribus/ui/printdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21770&path=/trunk/Scribus/scribus/ui/printdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/printdialog.cpp (original)
+++ trunk/Scribus/scribus/ui/printdialog.cpp Sat Feb 11 16:00:14 2017
@@ -24,7 +24,7 @@
#if defined(_WIN32)
#include <windows.h>
#include <winspool.h>
-#else
+#elif defined(HAVE_CUPS) // Haiku doesn't have it
#include <cups/cups.h>
#endif
#include "util_printer.h"
More information about the scribus-commit
mailing list