summaryrefslogtreecommitdiff
path: root/net/dctc/patches/patch-ae
blob: d1eff86731a22cc54b98d0b046c53943cbfd0d76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ae,v 1.4 2006/02/02 20:53:44 rillig Exp $

--- src/keyboard.c.orig	Sun May 18 08:48:16 2003
+++ src/keyboard.c	Tue Jun 10 12:04:22 2003
@@ -39,8 +39,7 @@
 #include <openssl/md4.h>
 #include <glib.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 */
@@ -51,7 +50,6 @@
                struct seminfo *__buf;      /* buffer for IPC_INFO */
        };
        #endif
-#endif
 
 #include "dc_com.h"
 #include "display.h"