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/ChangeLog | 5 +++++ winsup/cygwin/include/cygwin/ipc.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index f21252c76..93a2bc351 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2004-06-08 Egor Duda + + * include/cygwin/ipc.h: Make IPC_INFO visible only for ipc system + utilities, to make it consistent with declaration of struct seminfo. + 2004-06-08 Pierre Humblet * path.cc (fchdir): Pass the Posix path to chdir. 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