summaryrefslogtreecommitdiff
path: root/devel/xulrunner/patches/patch-aq
blob: 4627732d3c9a93c900f63df2a0dd1019e1762091 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aq,v 1.2 2009/09/20 15:30:54 sno Exp $

--- media/liboggplay/src/liboggplay/std_semaphore.h.orig	2009-06-29 18:15:03.000000000 +0200
+++ media/liboggplay/src/liboggplay/std_semaphore.h
@@ -74,7 +74,7 @@
  * @retval non-zero on error 
  */
 
-#if defined(linux) || defined(SOLARIS)
+#if defined(linux) || defined(SOLARIS) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD__)
 #include <semaphore.h>
 #define SEM_CREATE(p,s) sem_init(&(p), 1, s)
 #define SEM_SIGNAL(p)   sem_post(&(p))