summaryrefslogtreecommitdiff
path: root/gs/src/errors.h
diff options
context:
space:
mode:
authorAlex Cherepanov <alex.cherepanov@artifex.com>2003-12-03 22:31:26 +0000
committerAlex Cherepanov <alex.cherepanov@artifex.com>2003-12-03 22:31:26 +0000
commitd8598b7756ac2d0266b097d45b3158310d9685aa (patch)
tree96dfd4a67b1da9f83b2df4b707651d98d7d8aa72 /gs/src/errors.h
parent70f600d41f34d8420fe6ef02e5df27c5209be61e (diff)
Add double-inclusion protection to errors.h to pacify the regression
test and rename double-inclusion protection variable in ierrors.h for the naming consistency. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@4398 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/src/errors.h')
-rw-r--r--gs/src/errors.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gs/src/errors.h b/gs/src/errors.h
index 6cfe5ba2c..7ad83008a 100644
--- a/gs/src/errors.h
+++ b/gs/src/errors.h
@@ -16,6 +16,9 @@
/* $Id$ */
+#ifndef errors_INCLUDED
+# define errors_INCLUDED
+
/* This file used to contain error codes for the Ghostscript client api.
* It has been renamed ierrors.h to reduce the risk of namespace collision
* and to be consistent with iapi.h.
@@ -24,3 +27,4 @@
/* We include that file here to backward compatibility */
#include "ierrors.h"
+#endif /* errors_INCLUDED */