dcf15ebf62
make it compile, not fuck up the build.
13 lines
503 B
Plaintext
13 lines
503 B
Plaintext
$OpenBSD: patch-src_sema_c,v 1.3 2010/05/20 09:21:17 espie Exp $
|
|
--- src/sema.c.orig Sun Dec 28 09:12:38 2003
|
|
+++ src/sema.c Wed May 19 18:54:18 2010
|
|
@@ -41,7 +41,7 @@ $Id: patch-src_sema_c,v 1.3 2010/05/20 09:21:17 espie Exp $
|
|
|
|
#include "sema.h"
|
|
|
|
-#if !(defined(BSD) && (BSD >= 199103))
|
|
+#if !(defined(BSD) && (BSD >= 199103)) && !defined(__OpenBSD__)
|
|
#if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)
|
|
/* union semun is defined by including <sys/sem.h> */
|
|
#else
|