summaryrefslogtreecommitdiff
path: root/includes.h
diff options
context:
space:
mode:
authordtucker <dtucker>2004-08-14 14:01:48 +0000
committerdtucker <dtucker>2004-08-14 14:01:48 +0000
commitb6829a3b007da208dc7195deb319bc5c8b76804d (patch)
treed162887a115cb69a578522311e5f66c21025a8a3 /includes.h
parent5bf869cef344e460eaa36d3bae06af0eb6576972 (diff)
downloadopenssh-b6829a3b007da208dc7195deb319bc5c8b76804d.tar.gz
- (dtucker) [includes.h] Undef _INCLUDE__STDC__ on HP-UX, otherwise
prot.h and shadow.h provide conflicting declarations of getspnam. ok djm@
Diffstat (limited to 'includes.h')
-rw-r--r--includes.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/includes.h b/includes.h
index 99b70502..3a6b4c32 100644
--- a/includes.h
+++ b/includes.h
@@ -181,6 +181,16 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
# include <kafs.h>
#endif
+/*
+ * On HP-UX 11.11, shadow.h and prot.h provide conflicting declarations
+ * of getspnam when _INCLUDE__STDC__ is defined, so we unset it here.
+ */
+#ifdef __hpux
+# ifdef _INCLUDE__STDC__
+# undef _INCLUDE__STDC__
+# endif
+#endif
+
#include <openssl/opensslv.h> /* For OPENSSL_VERSION_NUMBER */
#include "defines.h"