From 35fe2c081188f04ad9600696a0920c4930e6df09 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 8 Jun 2004 10:53:40 +0000 Subject: * include/cygwin/ipc.h: Make IPC_INFO visible only for ipc system utilities, to make it consistent with declaration of struct seminfo. --- winsup/cygwin/include/cygwin/ipc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'winsup/cygwin/include') diff --git a/winsup/cygwin/include/cygwin/ipc.h b/winsup/cygwin/include/cygwin/ipc.h index 7b04653d3..783778822 100644 --- a/winsup/cygwin/include/cygwin/ipc.h +++ b/winsup/cygwin/include/cygwin/ipc.h @@ -48,7 +48,9 @@ struct ipc_perm #define IPC_RMID 0x1000 /* Remove identifier. */ #define IPC_SET 0x1001 /* Set options. */ #define IPC_STAT 0x1002 /* Get options. */ +#ifdef _KERNEL #define IPC_INFO 0x1003 /* For ipcs(8). */ +#endif #ifdef _KERNEL #define IPCID_TO_IX(id) ((id) & 0xffff) -- cgit v1.2.3