From 28d3245fbaff5f6edc74fe3fc21237d69672e947 Mon Sep 17 00:00:00 2001 From: Peter Cherepanov Date: Fri, 12 Feb 2021 14:30:44 +0000 Subject: Bug 703294: Fix Ghostscript build for Android Header files shifted around so that the redefinition of printf happens after cdefs. Also removes redundant CONTDEVH definition from contrib/contrib.mak --- contrib/contrib.mak | 1 - contrib/pcl3/eprn/gdeveprn.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/contrib.mak b/contrib/contrib.mak index 0ce53875f..d7965dc9e 100644 --- a/contrib/contrib.mak +++ b/contrib/contrib.mak @@ -23,7 +23,6 @@ CONTRIB_MAK=$(CONTRIBDIR)$(D)contrib.mak $(TOP_MAKEFILES) CONTRIBSRC=$(CONTRIBDIR)$(D) # Almost all device drivers depend on the following: -CONTDEVH=$(gserrors_h) $(gx_h) $(gxdevice_h) CONTDEV=$(AK) $(ECHOGS_XE) $(GDEVH) ###### --------------------------- Catalog -------------------------- ###### diff --git a/contrib/pcl3/eprn/gdeveprn.c b/contrib/pcl3/eprn/gdeveprn.c index d99895fdb..4c9226c43 100644 --- a/contrib/pcl3/eprn/gdeveprn.c +++ b/contrib/pcl3/eprn/gdeveprn.c @@ -71,6 +71,7 @@ ghostscript's header files are not self-contained. Therefore, if this file does not compile because of undefined symbols, just add include directives until it does. */ +#include "gserrors.h" #include "iref.h" /* needed by icstate.h */ #include "gsmemraw.h" /* needed by icstate.h */ #include "gsmemory.h" /* needed by icstate.h */ -- cgit v1.2.1