about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/aix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/aix')
-rw-r--r--sysdeps/unix/sysv/aix/getegid.c3
-rw-r--r--sysdeps/unix/sysv/aix/geteuid.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/aix/getegid.c b/sysdeps/unix/sysv/aix/getegid.c
index 7e88c89360..d092fc56f9 100644
--- a/sysdeps/unix/sysv/aix/getegid.c
+++ b/sysdeps/unix/sysv/aix/getegid.c
@@ -18,6 +18,9 @@
 
 #include <unistd.h>
 
+#define ID_EFFECTIVE	0x01
+
+
 gid_t
 __getegid (void)
 {
diff --git a/sysdeps/unix/sysv/aix/geteuid.c b/sysdeps/unix/sysv/aix/geteuid.c
index 3c695b28e5..86034b3fed 100644
--- a/sysdeps/unix/sysv/aix/geteuid.c
+++ b/sysdeps/unix/sysv/aix/geteuid.c
@@ -18,6 +18,9 @@
 
 #include <unistd.h>
 
+#define ID_EFFECTIVE	0x01
+
+
 uid_t
 __geteuid (void)
 {