mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-26 14:00:56 +00:00
Formerly misc.c.~23~
This commit is contained in:
parent
81e8efbcdf
commit
d56535498b
1 changed files with 6 additions and 4 deletions
10
misc.c
10
misc.c
|
@ -485,11 +485,13 @@ dep_name (dep)
|
||||||
|
|
||||||
#ifndef HAVE_UNISTD_H
|
#ifndef HAVE_UNISTD_H
|
||||||
extern int getuid (), getgid (), geteuid (), getegid ();
|
extern int getuid (), getgid (), geteuid (), getegid ();
|
||||||
#ifdef USG
|
|
||||||
extern int setuid (), setgid ();
|
extern int setuid (), setgid ();
|
||||||
#else
|
#ifdef HAVE_SETREUID
|
||||||
extern int setreuid (), setregid ();
|
extern int setreuid ();
|
||||||
#endif /* USG. */
|
#endif /* Have setreuid. */
|
||||||
|
#ifdef HAVE_SETREGID
|
||||||
|
extern int setregid ();
|
||||||
|
#endif /* Have setregid. */
|
||||||
#endif /* No <unistd.h>. */
|
#endif /* No <unistd.h>. */
|
||||||
|
|
||||||
/* Keep track of the user and group IDs for user- and make- access. */
|
/* Keep track of the user and group IDs for user- and make- access. */
|
||||||
|
|
Loading…
Reference in a new issue