define semun for broken solaris sysvipc
authorAndrew Tridgell <tridge@samba.org>
Tue, 28 Oct 1997 14:55:22 +0000 (14:55 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 28 Oct 1997 14:55:22 +0000 (14:55 +0000)
(This used to be commit 4db076e08bec525ee908a391b22fdc12cc66bc27)

source3/include/includes.h

index da736fb225c77549a5daaac0de7b80b1cb3d2bce..48e79b429245f27ced5871bf37b1e5203f391e63 100644 (file)
@@ -320,6 +320,14 @@ extern int innetgr (const char *, const char *, const char *, const char *);
 #define USE_GETCWD
 #define USE_SETSID
 #define USE_SYSV_IPC
+
+union semun {
+       int val;
+       struct semid_ds *buf;
+       ushort *array;
+};
+
+
 #ifndef REPLACE_GETPASS
 #define REPLACE_GETPASS
 #endif /* REPLACE_GETPASS */