]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Sun, 18 Sep 1994 00:28:34 +0000 (00:28 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 18 Sep 1994 00:28:34 +0000 (00:28 +0000)
login-utils/su.c

index 6bee0cb590f6ffd691a80c6c3be992272a420c10..303a3c67d25712cbe9fccce01e61c21d75209a18 100644 (file)
@@ -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