summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-06-11 04:58:15 +0000
committerRoland McGrath <roland@redhat.com>1992-06-11 04:58:15 +0000
commit5382f6d1976b50c69e6333e8431842231681fdba (patch)
tree5322a5db92905cd50965a3c29768a48826c6bea6
parent8ca2f785e26bdd1af0ff95924f3b975c9bcb428e (diff)
downloadgunmake-5382f6d1976b50c69e6333e8431842231681fdba.tar.gz
Formerly misc.c.~17~
-rw-r--r--misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc.c b/misc.c
index d7722d3..f04ffe1 100644
--- a/misc.c
+++ b/misc.c
@@ -481,14 +481,14 @@ dep_name (dep)
}
#endif
-#if !defined(POSIX) && !defined(__GNU_LIBRARY__)
+#ifndef HAVE_UNISTD_H
extern int getuid (), getgid (), geteuid (), getegid ();
#ifdef USG
extern int setuid (), setgid ();
#else
extern int setreuid (), setregid ();
#endif /* USG. */
-#endif /* Not POSIX and not GNU C library. */
+#endif /* No <unistd.h>. */
/* Keep track of the user and group IDs for user- and make- access. */
static int user_uid = -1, user_gid = -1, make_uid = -1, make_gid = -1;