From: Jim Meyering Date: Sun, 23 Jul 2000 15:28:24 +0000 (+0000) Subject: [!HAVE_DECL_GETPWUID]: Declare getpwuid. X-Git-Tag: FILEUTILS-4_0x~7 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=6a3f36dacbd122132c8d57bdcedbe930ed1db3d0;p=thirdparty%2Fcoreutils.git [!HAVE_DECL_GETPWUID]: Declare getpwuid. [!HAVE_DECL_GETGRGID]: Declare getgrgid. [!HAVE_DECL_GETUID]: Declare getuid. --- diff --git a/src/sys2.h b/src/sys2.h index 64402a9b60..d8bd622fe2 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