summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Cherepanov <alex.cherepanov@artifex.com>2007-09-08 21:59:54 +0000
committerAlex Cherepanov <alex.cherepanov@artifex.com>2007-09-08 21:59:54 +0000
commit4cedb626ceceb7e9b87b3f6fe752d9562211c274 (patch)
treefd2661a40c4efeba010ed5d9f02992b4a8976736
parent0de1a0f02b7240fa63302bdf5c6c81e0392cef1f (diff)
Include our std.h header first to ensure consistent type definitions in
contributed files. This is required on HP-UX with aC++ compiler. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8231 a1074d23-0009-0410-80fe-cf8c14f379e6
-rw-r--r--gs/contrib/gdevlx50.c1
-rw-r--r--gs/contrib/gomni.c1
-rw-r--r--gs/contrib/opvp/gdevopvp.c1
-rw-r--r--gs/contrib/pcl3/eprn/mediasize.c2
-rw-r--r--gs/contrib/pcl3/eprn/pagecount.c2
-rw-r--r--gs/contrib/pcl3/src/pclcap.c1
6 files changed, 8 insertions, 0 deletions
diff --git a/gs/contrib/gdevlx50.c b/gs/contrib/gdevlx50.c
index 008a7cc37..3b178c9f2 100644
--- a/gs/contrib/gdevlx50.c
+++ b/gs/contrib/gdevlx50.c
@@ -227,6 +227,7 @@
/************************************************************************
* I N C L U D E F I L E S *
************************************************************************/
+#include "std.h"
#include <unistd.h>
#include "gdevprn.h"
#include "gsparam.h"
diff --git a/gs/contrib/gomni.c b/gs/contrib/gomni.c
index fc3d57d3b..96a64c356 100644
--- a/gs/contrib/gomni.c
+++ b/gs/contrib/gomni.c
@@ -88,6 +88,7 @@
/* */
/************************************************************************/
+#include "std.h"
#ifdef OMNI_USE_GLIB
/* Include these first. Ghostscript redefines printf */
#include <glib.h>
diff --git a/gs/contrib/opvp/gdevopvp.c b/gs/contrib/opvp/gdevopvp.c
index 88cd577be..65f80a9ab 100644
--- a/gs/contrib/opvp/gdevopvp.c
+++ b/gs/contrib/opvp/gdevopvp.c
@@ -20,6 +20,7 @@
/* gdevopvp.c ver.1.00 rel.1.0 26 Nov 2004 */
/* OpenPrinting Vector Printer Driver Glue Code */
+#include "std.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/gs/contrib/pcl3/eprn/mediasize.c b/gs/contrib/pcl3/eprn/mediasize.c
index fafadae24..b150f6a85 100644
--- a/gs/contrib/pcl3/eprn/mediasize.c
+++ b/gs/contrib/pcl3/eprn/mediasize.c
@@ -23,6 +23,8 @@ static const char
#define _XOPEN_SOURCE 500
#endif
+#include "std.h"
+
/* Standard headers */
#include <assert.h>
#include <errno.h>
diff --git a/gs/contrib/pcl3/eprn/pagecount.c b/gs/contrib/pcl3/eprn/pagecount.c
index 18e52ac8f..a36b90aa1 100644
--- a/gs/contrib/pcl3/eprn/pagecount.c
+++ b/gs/contrib/pcl3/eprn/pagecount.c
@@ -23,6 +23,8 @@ static const char
#define _XOPEN_SOURCE 500
#endif
+#include "std.h"
+
/* Standard headers */
#include <errno.h>
#include <stdio.h>
diff --git a/gs/contrib/pcl3/src/pclcap.c b/gs/contrib/pcl3/src/pclcap.c
index ecf55ed9c..327f0a480 100644
--- a/gs/contrib/pcl3/src/pclcap.c
+++ b/gs/contrib/pcl3/src/pclcap.c
@@ -24,6 +24,7 @@ static const char
#endif
/* Standard headers */
+#include "std.h"
#include <assert.h>
#include <string.h> /* for memset() */
#include <stdlib.h>