From 5382f6d1976b50c69e6333e8431842231681fdba Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 11 Jun 1992 04:58:15 +0000 Subject: [PATCH] Formerly misc.c.~17~ --- misc.c | 4 ++-- 1 file 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 . */ /* 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; -- 2.7.4