diff options
Diffstat (limited to 'src/sys2.h')
-rw-r--r-- | src/sys2.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sys2.h b/src/sys2.h index 64402a9b6..d8bd622fe 100644 --- a/src/sys2.h +++ b/src/sys2.h @@ -321,6 +321,18 @@ char *ttyname (); uid_t geteuid (); #endif +#if !HAVE_DECL_GETPWUID +struct passwd *getpwuid (); +#endif + +#if !HAVE_DECL_GETGRGID +struct group *getgrgid (); +#endif + +#if !HAVE_DECL_GETUID +uid_t getuid (); +#endif + #include "xalloc.h" #if ! defined HAVE_MEMPCPY && ! defined mempcpy |