summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2000-02-16 23:40:29 +0000
committerwtc%netscape.com <devnull@localhost>2000-02-16 23:40:29 +0000
commitec814bcc0634b869f78ccec33add18f62ac6cc66 (patch)
treef8330b2a8efde893bf1552a02c953bdb6be9963b
parent21c113a365ed439cfcddfdb938935775e3821d3e (diff)
downloadnspr-hg-ec814bcc0634b869f78ccec33add18f62ac6cc66.tar.gz
union semun is defined by <sys/sem.h> on BSD/OS. Thanks to
Kurt J. Lidl <lidl@pix.net> for the patch. (NSPRPUB_RELEASE_4_0_BRANCH)
-rw-r--r--pr/src/pthreads/ptsynch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/src/pthreads/ptsynch.c b/pr/src/pthreads/ptsynch.c
index 0731786e..b3ff68da 100644
--- a/pr/src/pthreads/ptsynch.c
+++ b/pr/src/pthreads/ptsynch.c
@@ -761,7 +761,7 @@ PR_IMPLEMENT(PRStatus) PR_DeleteSemaphore(const char *name)
* From the semctl(2) man page in glibc 2.0
*/
#if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)) \
- || defined(FREEBSD) || defined(OPENBSD)
+ || defined(FREEBSD) || defined(OPENBSD) || defined(BSDI)
/* union semun is defined by including <sys/sem.h> */
#else
/* according to X/OPEN we have to define it ourselves */