pkgsrc/net/dctc/patches/patch-ag

14 lines
540 B
Text
Raw Normal View History

2006-02-02 21:53:44 +01:00
$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
2006-02-02 21:53:44 +01:00
@@ -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 */