Skip to content
Snippets Groups Projects
Commit 7f0204ed authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Now checks for <grp.h>.

Rev: src/modules/system/.cvsignore:1.5
Rev: src/modules/system/configure.in:1.8
Rev: src/modules/system/system.c:1.17
parent 48fadbe8
No related branches found
No related tags found
No related merge requests found
......@@ -7,3 +7,4 @@ dependencies
linker_options
stamp-h
system_machine.h
system_machine.h.in
......@@ -7,3 +7,4 @@
/linker_options
/stamp-h
/system_machine.h
/system_machine.h.in
......@@ -8,7 +8,7 @@ AC_CHECK_LIB(nsl, gethostbyname)
AC_HAVE_HEADERS(syslog.h sys/syslog.h sys/types.h errno.h unistd.h pwd.h \
sys/conf.h sys/socket.h netinet/in.h arpa/inet.h netdb.h stdarg.h \
sys/utsname.h pwd.h passwd.h shadow.h)
sys/utsname.h pwd.h passwd.h shadow.h grp.h)
AC_HAVE_FUNCS(syslog link symlink readlink \
initgroups seteuid setresuid geteuid getpgrp getpgid getppid \
......
/*
* $Id: system.c,v 1.16 1997/04/16 03:14:06 hubbe Exp $
* $Id: system.c,v 1.17 1997/05/18 22:25:09 grubba Exp $
*
* System-call module for Pike
*
......@@ -14,7 +14,7 @@
#include "system.h"
#include <global.h>
RCSID("$Id: system.c,v 1.16 1997/04/16 03:14:06 hubbe Exp $");
RCSID("$Id: system.c,v 1.17 1997/05/18 22:25:09 grubba Exp $");
#include <module_support.h>
#include <las.h>
#include <interpret.h>
......@@ -52,7 +52,9 @@ RCSID("$Id: system.c,v 1.16 1997/04/16 03:14:06 hubbe Exp $");
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif /* HAVE_NETDB_H */
#ifdef HAVE_GRP_H
#include <grp.h>
#endif /* HAVE_GRP_H */
/*
* Functions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment