pkgsrc/net/dctc/patches/patch-ag
2006-02-02 20:53:44 +00:00

13 lines
540 B
Text

$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 */