summaryrefslogtreecommitdiff
path: root/includes.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-11-02 20:30:54 +1100
committerDarren Tucker <dtucker@zip.com.au>2004-11-02 20:30:54 +1100
commita56f191ef1e9517c97426e9b944e4feb94294fe2 (patch)
tree039abc9a18ba8a3ff1918a9b6805e63cd273c59c /includes.h
parent35beaddc7e86a47d782d5b69b26e940d2a8b6f73 (diff)
- (dtucker) [configure.ac includes.h] Bug #947: Fix compile error on HP-UX
10.x by testing for conflicts in shadow.h and undef'ing _INCLUDE__STDC__ only if a conflict is detected.
Diffstat (limited to 'includes.h')
-rw-r--r--includes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes.h b/includes.h
index 3a6b4c32b..3d3aa3b21 100644
--- a/includes.h
+++ b/includes.h
@@ -185,7 +185,7 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
185 * On HP-UX 11.11, shadow.h and prot.h provide conflicting declarations 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. 186 * of getspnam when _INCLUDE__STDC__ is defined, so we unset it here.
187 */ 187 */
188#ifdef __hpux 188#ifdef GETSPNAM_CONFLICTING_DEFS
189# ifdef _INCLUDE__STDC__ 189# ifdef _INCLUDE__STDC__
190# undef _INCLUDE__STDC__ 190# undef _INCLUDE__STDC__
191# endif 191# endif