summaryrefslogtreecommitdiff
path: root/devel/xulrunner/patches/patch-nsprpub_pr_src_pthreads_ptsynch.c
blob: 72e319d315f3cf58ce91b1b0139fe6a756c75e3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-nsprpub_pr_src_pthreads_ptsynch.c,v 1.1 2012/01/07 18:47:39 marino Exp $

--- nsprpub/pr/src/pthreads/ptsynch.c.orig	2011-09-02 20:15:44.000000000 +0000
+++ nsprpub/pr/src/pthreads/ptsynch.c
@@ -842,7 +842,7 @@ PR_IMPLEMENT(PRStatus) PR_DeleteSemaphor
  */
 #if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)) \
     || defined(FREEBSD) || defined(OPENBSD) || defined(BSDI) \
-    || defined(DARWIN) || defined(SYMBIAN)
+    || defined(DARWIN) || defined(SYMBIAN) || defined(__DragonFly__)
 /* union semun is defined by including <sys/sem.h> */
 #else
 /* according to X/OPEN we have to define it ourselves */