fixed including image.h
@@ -19,6 +19,7 @@ | ||
19 | 19 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
20 | 20 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
21 | 21 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
22 | + | |
22 | 23 | */ |
23 | 24 | /* |
24 | 25 | pdftoraster.cc |
@@ -38,11 +39,16 @@ | ||
38 | 39 | #include "SplashOutputDev.h" |
39 | 40 | #include "GfxState.h" |
40 | 41 | #include <cups/cups.h> |
42 | +#include <cups/ppd.h> | |
41 | 43 | #include <stdarg.h> |
42 | 44 | #include "Error.h" |
43 | 45 | #include "GlobalParams.h" |
44 | 46 | #include <cups/raster.h> |
47 | +#ifdef _CUPS_SOURCE | |
48 | +#include <filter/image.h> | |
49 | +#else | |
45 | 50 | #include <cups/image.h> |
51 | +#endif | |
46 | 52 | #include <splash/SplashTypes.h> |
47 | 53 | #include <splash/SplashBitmap.h> |
48 | 54 | #include <strings.h> |