From 3d50c9bda6b7eb63325e577c243e1a59a130c3ad Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sun, 15 Aug 2004 00:01:48 +1000 Subject: - (dtucker) [includes.h] Undef _INCLUDE__STDC__ on HP-UX, otherwise prot.h and shadow.h provide conflicting declarations of getspnam. ok djm@ --- includes.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'includes.h') 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 } # include #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 /* For OPENSSL_VERSION_NUMBER */ #include "defines.h" -- cgit v1.2.3