diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-08-15 00:01:48 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-08-15 00:01:48 +1000 |
commit | 3d50c9bda6b7eb63325e577c243e1a59a130c3ad (patch) | |
tree | 4e56e37594da149caa809f0fb786d2c389901258 | |
parent | 066969339dcd0352965de0ab1b5f693cf2a7fee8 (diff) |
- (dtucker) [includes.h] Undef _INCLUDE__STDC__ on HP-UX, otherwise
prot.h and shadow.h provide conflicting declarations of getspnam. ok djm@
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | includes.h | 10 |
2 files changed, 13 insertions, 1 deletions
@@ -1,6 +1,8 @@ | |||
1 | 20040814 | 1 | 20040814 |
2 | - (dtucker) [auth-krb5.c gss-serv-krb5.c openbsd-compat/xmmap.c] | 2 | - (dtucker) [auth-krb5.c gss-serv-krb5.c openbsd-compat/xmmap.c] |
3 | Explicitly set umask for mkstemp; ok djm@ | 3 | Explicitly set umask for mkstemp; ok djm@ |
4 | - (dtucker) [includes.h] Undef _INCLUDE__STDC__ on HP-UX, otherwise | ||
5 | prot.h and shadow.h provide conflicting declarations of getspnam. ok djm@ | ||
4 | 6 | ||
5 | 20040813 | 7 | 20040813 |
6 | - (dtucker) [openbsd-compat/bsd-misc.c] Typo in #ifdef; from vinschen at | 8 | - (dtucker) [openbsd-compat/bsd-misc.c] Typo in #ifdef; from vinschen at |
@@ -1626,4 +1628,4 @@ | |||
1626 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 1628 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
1627 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 1629 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
1628 | 1630 | ||
1629 | $Id: ChangeLog,v 1.3506 2004/08/14 13:55:37 dtucker Exp $ | 1631 | $Id: ChangeLog,v 1.3507 2004/08/14 14:01:48 dtucker Exp $ |
diff --git a/includes.h b/includes.h index 99b70502c..3a6b4c32b 100644 --- a/includes.h +++ b/includes.h | |||
@@ -181,6 +181,16 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } | |||
181 | # include <kafs.h> | 181 | # include <kafs.h> |
182 | #endif | 182 | #endif |
183 | 183 | ||
184 | /* | ||
185 | * On HP-UX 11.11, shadow.h and prot.h provide conflicting declarations | ||
186 | * of getspnam when _INCLUDE__STDC__ is defined, so we unset it here. | ||
187 | */ | ||
188 | #ifdef __hpux | ||
189 | # ifdef _INCLUDE__STDC__ | ||
190 | # undef _INCLUDE__STDC__ | ||
191 | # endif | ||
192 | #endif | ||
193 | |||
184 | #include <openssl/opensslv.h> /* For OPENSSL_VERSION_NUMBER */ | 194 | #include <openssl/opensslv.h> /* For OPENSSL_VERSION_NUMBER */ |
185 | 195 | ||
186 | #include "defines.h" | 196 | #include "defines.h" |