From: Jim Meyering Date: Sun, 18 Sep 1994 00:28:34 +0000 (+0000) Subject: . X-Git-Tag: v2.22-rc1~347^2~10^2~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4214f67eb9ed834b754631aace8c666efee0d8e2;p=thirdparty%2Futil-linux.git . --- diff --git a/login-utils/su.c b/login-utils/su.c index 6bee0cb590..303a3c67d2 100644 --- a/login-utils/su.c +++ b/login-utils/su.c @@ -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