diff options
author | Jim Meyering <jim@meyering.net> | 1994-09-18 00:28:34 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1994-09-18 00:28:34 +0000 |
commit | fe106be46b4fb8e5a777b4de84e85530430ba40c (patch) | |
tree | 70fd995a98c1d677748ecfc5b400ad06b04e6cae | |
parent | 73b9e4b762d89e5774735f2f8fba5cdc4155b7bb (diff) | |
download | coreutils-fe106be46b4fb8e5a777b4de84e85530430ba40c.tar.xz |
.
-rw-r--r-- | src/su.c | 5 | ||||
-rw-r--r-- | src/who.c | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -118,8 +118,11 @@ uid_t getuid (); #endif #endif /* not _POSIX_VERSION */ -#ifdef _POSIX_SOURCE +#ifndef HAVE_ENDGRENT #define endgrent() +#endif + +#ifndef HAVE_ENDPWENT #define endpwent() #endif @@ -56,7 +56,7 @@ #include <time.h> #include <getopt.h> -#ifndef _POSIX_SOURCE +#ifdef HAVE_SYS_PARAM_H #include <sys/param.h> #endif |