$NetBSD: patch-ac,v 1.9 2010/06/02 13:07:12 adam Exp $ --- src/keyboard_master.c.orig 2004-01-09 18:16:01.000000000 +0000 +++ src/keyboard_master.c @@ -48,8 +48,7 @@ $Id: keyboard_master.c,v 1.14 2004/01/09 #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 */ @@ -60,7 +59,6 @@ $Id: keyboard_master.c,v 1.14 2004/01/09 struct seminfo *__buf; /* buffer for IPC_INFO */ }; #endif -#endif #include "dc_com.h" #include "display.h"