From 4214f67eb9ed834b754631aace8c666efee0d8e2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 18 Sep 1994 00:28:34 +0000 Subject: [PATCH] . --- login-utils/su.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.47.3