summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-10-28 14:55:22 +0000
committerAndrew Tridgell <tridge@samba.org>1997-10-28 14:55:22 +0000
commitd6739a10d0f7ef3c6034bb2690446e6575b8085b (patch)
tree478d0352b9939585eaf3b83ae91d711c0546d103
parente75de8adc6918cc16ad84d2fa32cbc185d5b7fdb (diff)
downloadsamba-d6739a10d0f7ef3c6034bb2690446e6575b8085b.tar.gz
samba-d6739a10d0f7ef3c6034bb2690446e6575b8085b.tar.bz2
samba-d6739a10d0f7ef3c6034bb2690446e6575b8085b.zip
define semun for broken solaris sysvipc
(This used to be commit 4db076e08bec525ee908a391b22fdc12cc66bc27)
-rw-r--r--source3/include/includes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index da736fb225..48e79b4292 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -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 */