Fix build with CUPS 2.2.x.

Reported by:	hselasky
This commit is contained in:
Tijl Coosemans 2016-10-18 13:14:41 +00:00
parent 60cc97b8b8
commit 2bd5d32360
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=424159
3 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,10 @@
--- src/common/CupsFilter.h.orig 2012-02-07 13:22:37 UTC
+++ src/common/CupsFilter.h
@@ -22,6 +22,7 @@
#define hfc4bbdea_8a1b_427c_9ab5_50b84576b19e
#include <cups/cups.h>
+#include <cups/ppd.h>
#include <cups/raster.h>
#include <memory>
#include <string>

View file

@ -0,0 +1,17 @@
--- src/lm/CupsFilterLabelManager.h.orig 2012-02-07 13:22:38 UTC
+++ src/lm/CupsFilterLabelManager.h
@@ -22,6 +22,7 @@
#define he780684b_6efc_428d_bfdb_c5422b1ed982
#include <cups/cups.h>
+#include <cups/ppd.h>
#include <cups/raster.h>
#include "LabelManagerDriver.h"
#include "LabelManagerLanguageMonitor.h"
@@ -50,4 +51,4 @@ public:
/*
* End of "$Id: CupsFilterLabelManager.h 14880 2011-03-31 16:29:05Z aleksandr $".
- */
\ No newline at end of file
+ */

View file

@ -0,0 +1,10 @@
--- src/lw/CupsFilterLabelWriter.h.orig 2012-02-07 13:22:37 UTC
+++ src/lw/CupsFilterLabelWriter.h
@@ -22,6 +22,7 @@
#define hd8574b83_b264_47b2_8d33_a46ae75691d2
#include <cups/cups.h>
+#include <cups/ppd.h>
#include <cups/raster.h>
#include "LabelWriterDriver.h"
#include "LabelWriterLanguageMonitor.h"