pkgsrc/net/dctc/patches/patch-ac

23 lines
723 B
Text
Raw Normal View History

2006-02-02 21:53:44 +01:00
$NetBSD: patch-ac,v 1.8 2006/02/02 20:53:44 rillig Exp $
--- src/keyboard_master.c.orig Sun Jun 22 10:40:35 2003
+++ src/keyboard_master.c
2006-02-02 21:53:44 +01:00
@@ -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 */
2006-02-02 21:53:44 +01:00
@@ -51,7 +50,6 @@
struct seminfo *__buf; /* buffer for IPC_INFO */
};
#endif
-#endif
#include "dc_com.h"
#include "display.h"