blob: 38e0cee969fe4e6b3c2392b64afd3797345ee6f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ab,v 1.3 2002/11/06 19:02:56 atatat Exp $
We are similar enough to OpenBSD to use this, especially since it
makes the graphics/avifile-devel pkg build again.
--- include/SDL_syswm.h.orig Sun Aug 25 02:21:49 2002
+++ include/SDL_syswm.h Mon Nov 4 13:00:07 2002
@@ -49,7 +49,7 @@
#else
/* This is the structure for custom window manager events */
-#if (defined(unix) || defined(__unix__) || defined(_AIX) || defined(__OpenBSD__)) && \
+#if (defined(unix) || defined(__unix__) || defined(_AIX) || defined(__OpenBSD__) || defined(__NetBSD__)) && \
(!defined(DISABLE_X11) && !defined(__CYGWIN32__) && !defined(ENABLE_NANOX))
/* AIX is unix, of course, but the native compiler CSet doesn't define unix */
#include <X11/Xlib.h>
|