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
commit4db076e08bec525ee908a391b22fdc12cc66bc27 (patch)
tree1d5defacbe7bb24e5d21019611b1e00d03425225
parent9f0be847fdbcf0f8bbd69de6cdf277ae0440bcda (diff)
downloadsamba-4db076e08bec525ee908a391b22fdc12cc66bc27.tar.gz
define semun for broken solaris sysvipc
-rw-r--r--source/include/includes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h
index da736fb225c..48e79b42924 100644
--- a/source/include/includes.h
+++ b/source/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 */