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 /includes.h | |
parent | 066969339dcd0352965de0ab1b5f693cf2a7fee8 (diff) | |
download | openssh-git-3d50c9bda6b7eb63325e577c243e1a59a130c3ad.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.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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" |