--- a/include/SDL_syswm.h Sun Aug 25 02:05:24 2002 +0000
+++ b/include/SDL_syswm.h Sun Aug 25 06:21:49 2002 +0000
@@ -50,7 +50,7 @@
/* This is the structure for custom window manager events */
#if (defined(unix) || defined(__unix__) || defined(_AIX) || defined(__OpenBSD__)) && \
- (!defined(DISABLE_X11) && !defined(__CYGWIN32__))
+ (!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>
#include <X11/Xatom.h>