diff options
author | Peter Cherepanov <sphinx.pinastri@gmail.com> | 2021-02-12 14:30:44 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2021-02-15 14:43:22 +0000 |
commit | 28d3245fbaff5f6edc74fe3fc21237d69672e947 (patch) | |
tree | 07cb49c0d3037cf95d02ccb58ad5d584f22f7afc /contrib | |
parent | b151406bbf22fb9001895f856168166f2ecf7fe2 (diff) | |
download | ghostpdl-28d3245fbaff5f6edc74fe3fc21237d69672e947.tar.gz |
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
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/contrib.mak | 1 | ||||
-rw-r--r-- | contrib/pcl3/eprn/gdeveprn.c | 1 |
2 files changed, 1 insertions, 1 deletions
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 */ |