Define ID_EFFECTIVE and ID_REAL.
authorUlrich Drepper <drepper@redhat.com>
Tue, 18 Apr 2000 16:13:05 +0000 (16:13 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 18 Apr 2000 16:13:05 +0000 (16:13 +0000)
sysdeps/unix/sysv/aix/setregid.c
sysdeps/unix/sysv/aix/setreuid.c

index 02961b4..b747b6c 100644 (file)
@@ -18,9 +18,8 @@
 
 #include <unistd.h>
 
-/* is there a reason *NOT* to include <sys/id.h>? */
-/* If so #define ID_EFFECTIVE and ID_REAL         */
-#include <sys/id.h>
+#define ID_EFFECTIVE   0x01
+#define ID_REAL                0x02
 
 
 extern int setgidx (int mask, gid_t gid);
index ecf12a1..eafc764 100644 (file)
@@ -18,9 +18,9 @@
 
 #include <unistd.h>
 
-/* is there a reason *NOT* to include <sys/id.h>? */
-/* If so #define ID_EFFECTIVE and ID_REAL         */
-#include <sys/id.h>
+#define ID_EFFECTIVE   0x01
+#define ID_REAL                0x02
+
 
 extern int setuidx (int mask, uid_t uid);