summaryrefslogtreecommitdiff
path: root/net/dctc/patches/patch-ag
blob: d0e63d1343a1cc862d701634c5d6541831898c52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ag,v 1.4 2006/02/02 20:53:44 rillig Exp $

--- src/sema_master.c.orig	2006-01-20 22:39:38.000000000 +0000
+++ src/sema_master.c
@@ -41,7 +41,7 @@
 #include "sema_master.h"
 
 #if !(defined(BSD) && (BSD >= 199103))
-       #if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)
+       #if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)) || defined(__DragonFly__)
        /* union semun is defined by including <sys/sem.h> */
        #else
        /* according to X/OPEN we have to define it ourselves */