blob: 987cf5c238227175eaf0db7bc5fd6b0cd834d964 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-af,v 1.7 2006/02/02 20:53:44 rillig Exp $
--- src/sema.c.orig 2006-01-20 22:04:29.000000000 +0000
+++ src/sema.c
@@ -42,7 +42,7 @@
#include "sema.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 */
|