]> andersk Git - openssh.git/commitdiff
- (dtucker) [includes.h] Undef _INCLUDE__STDC__ on HP-UX, otherwise
authordtucker <dtucker>
Sat, 14 Aug 2004 14:01:48 +0000 (14:01 +0000)
committerdtucker <dtucker>
Sat, 14 Aug 2004 14:01:48 +0000 (14:01 +0000)
   prot.h and shadow.h provide conflicting declarations of getspnam.  ok djm@

ChangeLog
includes.h

index c83a8ca628c63990d91bfa29d1d6877956a3cb0e..ffe0d0277cb241030c73ee6f281b698547961dc1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
 20040814
  - (dtucker) [auth-krb5.c gss-serv-krb5.c openbsd-compat/xmmap.c]
    Explicitly set umask for mkstemp; ok djm@
+ - (dtucker) [includes.h] Undef _INCLUDE__STDC__ on HP-UX, otherwise
+   prot.h and shadow.h provide conflicting declarations of getspnam.  ok djm@
 
 20040813
  - (dtucker) [openbsd-compat/bsd-misc.c] Typo in #ifdef; from vinschen at
index 99b70502cff427643425118b7bccd305190cbc76..3a6b4c32bbac488fca8a7b55e318620335bcb4dd 100644 (file)
@@ -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"
This page took 0.061233 seconds and 5 git commands to generate.