]> git.sur5r.net Git - openldap/commitdiff
Blind fix for NGROUPS Tru64 5.1 bug (ITS#2485)
authorKurt Zeilenga <kurt@openldap.org>
Mon, 5 May 2003 17:29:26 +0000 (17:29 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 5 May 2003 17:29:26 +0000 (17:29 +0000)
libraries/liblutil/getpeereid.c

index de48ab8b537e26828388990b619dd44626188354..eee32654dfbca473bd811268377da26017a0c3f3 100644 (file)
@@ -16,6 +16,9 @@
 #include <ac/errno.h>
 
 #if HAVE_SYS_UCRED_H
+#if HAVE_GRP_H
+#include <grp.h>       /* for NGROUPS on Tru64 5.1 */
+#endif
 #include <sys/ucred.h>
 #endif