From bb67907d471e2511bedfc40ac3f5358a4b1886fb Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 18 Apr 2000 16:13:05 +0000 Subject: [PATCH] Define ID_EFFECTIVE and ID_REAL. --- sysdeps/unix/sysv/aix/setregid.c | 5 ++--- sysdeps/unix/sysv/aix/setreuid.c | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/sysdeps/unix/sysv/aix/setregid.c b/sysdeps/unix/sysv/aix/setregid.c index 02961b4dc0..b747b6c266 100644 --- a/sysdeps/unix/sysv/aix/setregid.c +++ b/sysdeps/unix/sysv/aix/setregid.c @@ -18,9 +18,8 @@ #include -/* is there a reason *NOT* to include ? */ -/* If so #define ID_EFFECTIVE and ID_REAL */ -#include +#define ID_EFFECTIVE 0x01 +#define ID_REAL 0x02 extern int setgidx (int mask, gid_t gid); diff --git a/sysdeps/unix/sysv/aix/setreuid.c b/sysdeps/unix/sysv/aix/setreuid.c index ecf12a1ff3..eafc764942 100644 --- a/sysdeps/unix/sysv/aix/setreuid.c +++ b/sysdeps/unix/sysv/aix/setreuid.c @@ -18,9 +18,9 @@ #include -/* is there a reason *NOT* to include ? */ -/* If so #define ID_EFFECTIVE and ID_REAL */ -#include +#define ID_EFFECTIVE 0x01 +#define ID_REAL 0x02 + extern int setuidx (int mask, uid_t uid);