r18162 by craig - Haiku fix: only include cups.h when we have cups

scribus-commit scribus-commit at lists.scribus.net
Sun Feb 24 22:21:59 UTC 2013


Author: craig
Date: Sun Feb 24 22:21:59 2013
New Revision: 18162

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18162
Log:
Haiku fix: only include cups.h when we have cups

Modified:
    branches/Version14x/Scribus/scribus/printdialog.cpp

Modified: branches/Version14x/Scribus/scribus/printdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18162&path=/branches/Version14x/Scribus/scribus/printdialog.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/printdialog.cpp (original)
+++ branches/Version14x/Scribus/scribus/printdialog.cpp Sun Feb 24 22:21:59 2013
@@ -25,7 +25,9 @@
 	#include <windows.h>
 	#include <winspool.h>
 #else
+    #if defined (HAVE_CUPS)
 	#include <cups/cups.h>
+    #endif
 #endif
 #include "util_printer.h"
 #include "util_icon.h"




More information about the scribus-commit mailing list