[PATCH] winspool.drv: Support cups 2.2 header update
Michael Cronenworth
mike at cchtml.com
Fri Jul 1 16:32:36 CDT 2016
Signed-off-by: Michael Cronenworth <mike at cchtml.com>
---
dlls/winspool.drv/info.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c
index 3ba94cd..5468066 100644
--- a/dlls/winspool.drv/info.c
+++ b/dlls/winspool.drv/info.c
@@ -43,6 +43,9 @@
#include <signal.h>
#ifdef HAVE_CUPS_CUPS_H
# include <cups/cups.h>
+# if CUPS_VERSION_MAJOR > 2 || (CUPS_VERSION_MAJOR == 2 && CUPS_VERSION_MINOR > 1)
+# include <cups/ppd.h>
+# endif
#endif
#ifdef HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H
--
2.5.5
More information about the wine-patches
mailing list