blob: c8c22b1fe5973e915568cd88a69a13ee927c6d6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-aa,v 1.2 2006/01/02 21:29:37 joerg Exp $
--- mod_throttle.c.orig Sun Dec 3 04:15:10 2000
+++ mod_throttle.c
@@ -719,7 +719,7 @@ critical_release(t_critical *mp)
#include <sys/ipc.h>
#include <sys/sem.h>
-#if (defined(__GNU_LIBRARY__) && (!defined(_SEM_SEMUN_UNDEFINED))) || defined(__FreeBSD__) || defined(__NetBSD__)
+#if (defined(__GNU_LIBRARY__) && (!defined(_SEM_SEMUN_UNDEFINED))) || defined(__FreeBSD__) || defined(__DragonFly__)
/* union semun is defined by including <sys/sem.h> */
#else
/* X/OPEN says we have to define it ourselves (twits). */
|