diff options
Diffstat (limited to 'util-linux/ipcs.c')
-rw-r--r-- | util-linux/ipcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/ipcs.c b/util-linux/ipcs.c index 5a7b22434..489480c85 100644 --- a/util-linux/ipcs.c +++ b/util-linux/ipcs.c | |||
@@ -67,7 +67,7 @@ struct shm_info { | |||
67 | /* The last arg of semctl is a union semun, but where is it defined? | 67 | /* The last arg of semctl is a union semun, but where is it defined? |
68 | X/OPEN tells us to define it ourselves, but until recently | 68 | X/OPEN tells us to define it ourselves, but until recently |
69 | Linux include files would also define it. */ | 69 | Linux include files would also define it. */ |
70 | #if defined (__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED) | 70 | #if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED) |
71 | /* union semun is defined by including <sys/sem.h> */ | 71 | /* union semun is defined by including <sys/sem.h> */ |
72 | #else | 72 | #else |
73 | /* according to X/OPEN we have to define it ourselves */ | 73 | /* according to X/OPEN we have to define it ourselves */ |
@@ -84,7 +84,7 @@ union semun { | |||
84 | <linux/ipc.h>, which defines a struct ipc_perm with such fields. | 84 | <linux/ipc.h>, which defines a struct ipc_perm with such fields. |
85 | glibc-1.09 has no support for sysv ipc. | 85 | glibc-1.09 has no support for sysv ipc. |
86 | glibc 2 uses __key, __seq */ | 86 | glibc 2 uses __key, __seq */ |
87 | #if defined (__GNU_LIBRARY__) && __GNU_LIBRARY__ > 1 | 87 | #if defined(__GNU_LIBRARY__) && __GNU_LIBRARY__ > 1 |
88 | #define KEY __key | 88 | #define KEY __key |
89 | #else | 89 | #else |
90 | #define KEY key | 90 | #define KEY key |