]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
[!HAVE_DECL_GETPWUID]: Declare getpwuid.
authorJim Meyering <jim@meyering.net>
Sun, 23 Jul 2000 15:28:24 +0000 (15:28 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 23 Jul 2000 15:28:24 +0000 (15:28 +0000)
[!HAVE_DECL_GETGRGID]: Declare getgrgid.
[!HAVE_DECL_GETUID]: Declare getuid.

src/sys2.h

index 64402a9b60b87f7565d058bc6fa9ca4802a02899..d8bd622fe2c58735225a1d5c0f8c57f37fd6b0a2 100644 (file)
@@ -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