[pubcookie-dev] [PATCH] Compile for HP-UX
Tim Funk
funkman at joedog.org
Mon Sep 22 08:31:29 PDT 2003
Attached in-line is a patch to get things to compile for HP-UX.
Quick summary of patch: defines EX_OSERR and EX_CONFIG when needed.
-Tim
Index: src/pbc_apacheconfig.c
===================================================================
RCS file: /usr/local/cvsroot/webiso/pubcookie/src/pbc_apacheconfig.c,v
retrieving revision 2.7
diff -u -r2.7 pbc_apacheconfig.c
--- src/pbc_apacheconfig.c 3 Jul 2003 04:25:21 -0000 2.7
+++ src/pbc_apacheconfig.c 22 Sep 2003 15:23:27 -0000
@@ -55,6 +55,11 @@
# include <sysexits.h>
#endif /* HAVE_SYSEXITS_H */
+#ifndef EX_OSERR
+# define EX_OSERR 71
+#endif
+
+
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
Index: src/pbc_myconfig.c
===================================================================
RCS file: /usr/local/cvsroot/webiso/pubcookie/src/pbc_myconfig.c,v
retrieving revision 1.33
diff -u -r1.33 pbc_myconfig.c
--- src/pbc_myconfig.c 10 Jul 2003 19:06:40 -0000 1.33
+++ src/pbc_myconfig.c 22 Sep 2003 15:23:28 -0000
@@ -53,9 +53,16 @@
#ifdef HAVE_SYSEXITS_H
# include <sysexits.h>
-#else
-# define EX_OSERR 71
#endif /* HAVE_SYSEXITS_H */
+
+#ifndef EX_OSERR
+# define EX_OSERR 71
+#endif
+
+#ifndef EX_CONFIG
+# define EX_CONFIG 78
+#endif
+
#include "pbc_logging.h"
#ifdef HAVE_UNISTD_H
More information about the pubcookie-dev
mailing list