diff options
| author | Jim Meyering <jim@meyering.net> | 2000-07-23 15:28:24 +0000 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 2000-07-23 15:28:24 +0000 |
| commit | 6a3f36dacbd122132c8d57bdcedbe930ed1db3d0 (patch) | |
| tree | 24b437ed24a294b4e68f7c60870f4de44504569e /src | |
| parent | dafbd8d26dd67b312bb343885ed472075f197e8b (diff) | |
| download | coreutils-6a3f36dacbd122132c8d57bdcedbe930ed1db3d0.tar.gz coreutils-6a3f36dacbd122132c8d57bdcedbe930ed1db3d0.zip | |
[!HAVE_DECL_GETPWUID]: Declare getpwuid.
[!HAVE_DECL_GETGRGID]: Declare getgrgid.
[!HAVE_DECL_GETUID]: Declare getuid.
Diffstat (limited to 'src')
| -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 |
