diff options
Diffstat (limited to 'src/su.c')
-rw-r--r-- | src/su.c | 5 |
1 files changed, 4 insertions, 1 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 |