From: Roland McGrath Date: Fri, 22 Jan 1993 21:32:00 +0000 (+0000) Subject: Formerly misc.c.~23~ X-Git-Tag: 3.70.2~421 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d56535498b4b4b301e3ff2ed97bfe2b0f9967f91;p=thirdparty%2Fmake.git Formerly misc.c.~23~ --- diff --git a/misc.c b/misc.c index 8b7fcb0e..e695c39c 100644 --- 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 . */ /* Keep track of the user and group IDs for user- and make- access. */