Define ID_EFFECTIVE.
authorUlrich Drepper <drepper@redhat.com>
Tue, 18 Apr 2000 16:07:13 +0000 (16:07 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 18 Apr 2000 16:07:13 +0000 (16:07 +0000)
sysdeps/unix/sysv/aix/setegid.c
sysdeps/unix/sysv/aix/seteuid.c

index 9f660ff..eedc71a 100644 (file)
@@ -18,8 +18,7 @@
 
 #include <unistd.h>
 
-/* is there a reason *NOT* to include <sys/id.h>? If so #define ID_EFFECTIVE */
-#include <sys/id.h>
+#define ID_EFFECTIVE   0x01
 
 
 extern int setgidx (int mask, gid_t gid);
index de9280b..c2fb948 100644 (file)
@@ -18,9 +18,8 @@
 
 #include <unistd.h>
 
+#define ID_EFFECTIVE   0x01
 
-/* is there a reason *NOT* to include <sys/id.h>? If so #define ID_EFFECTIVE */
-#include <sys/id.h>
 
 extern int setuidx (int mask, uid_t uid);