]> granicus.if.org Git - sudo/commitdiff
now includes netgroup.h
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 20 Jun 1996 05:16:36 +0000 (05:16 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 20 Jun 1996 05:16:36 +0000 (05:16 +0000)
parse.c
testsudoers.c

diff --git a/parse.c b/parse.c
index 7e7cc01b56b7d9b9e1a5cd75685ecb347dc116c0..eb1031359f10e52e4b68970605d5d4c9e831843a 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -53,6 +53,9 @@ static char rcsid[] = "$Id$";
 #if defined(HAVE_MALLOC_H) && !defined(STDC_HEADERS)
 #  include <malloc.h>
 #endif /* HAVE_MALLOC_H && !STDC_HEADERS */
+#ifdef HAVE_NETGROUP_H
+#  include <netgroup.h>
+#endif /* HAVE_NETGROUP_H */
 #include <ctype.h>
 #include <pwd.h>
 #include <grp.h>
index 7d9eae0db3788cc982884b9b8aed4a7226f7e7bb..0a5c786584bd1938e7df651e4047701de3944bd2 100644 (file)
@@ -50,6 +50,9 @@ static char rcsid[] = "$Id$";
 #if defined(HAVE_MALLOC_H) && !defined(STDC_HEADERS)
 #  include <malloc.h>
 #endif /* HAVE_MALLOC_H && !STDC_HEADERS */
+#ifdef HAVE_NETGROUP_H
+#  include <netgroup.h>
+#endif /* HAVE_NETGROUP_H */
 #include <ctype.h>
 #include <pwd.h>
 #include <grp.h>