From 6a3f36dacbd122132c8d57bdcedbe930ed1db3d0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 23 Jul 2000 15:28:24 +0000 Subject: [PATCH] [!HAVE_DECL_GETPWUID]: Declare getpwuid. [!HAVE_DECL_GETGRGID]: Declare getgrgid. [!HAVE_DECL_GETUID]: Declare getuid. --- src/sys2.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- 2.47.3