]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly misc.c.~23~
authorRoland McGrath <roland@redhat.com>
Fri, 22 Jan 1993 21:32:00 +0000 (21:32 +0000)
committerRoland McGrath <roland@redhat.com>
Fri, 22 Jan 1993 21:32:00 +0000 (21:32 +0000)
misc.c

diff --git a/misc.c b/misc.c
index 8b7fcb0e8e4ef438717f95958c4cbe5f45d1a309..e695c39c0353c1ffe6cce328e32b09987fd8162a 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -485,11 +485,13 @@ dep_name (dep)
 
 #ifndef        HAVE_UNISTD_H
 extern int getuid (), getgid (), geteuid (), getegid ();
-#ifdef USG
 extern int setuid (), setgid ();
-#else
-extern int setreuid (), setregid ();
-#endif /* USG.  */
+#ifdef HAVE_SETREUID
+extern int setreuid ();
+#endif /* Have setreuid.  */
+#ifdef HAVE_SETREGID
+extern int setregid ();
+#endif /* Have setregid.  */
 #endif /* No <unistd.h>.  */
 
 /* Keep track of the user and group IDs for user- and make- access.  */