$NetBSD: patch-ab,v 1.4 2005/01/05 12:05:19 adam Exp $ --- include/SDL_syswm.h.orig 2004-12-13 07:54:31.000000000 +0000 +++ include/SDL_syswm.h @@ -49,7 +49,7 @@ typedef struct SDL_SysWMinfo SDL_SysWMin #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) && \ !defined(__QNXNTO__)) /* AIX is unix, of course, but the native compiler CSet doesn't define unix */