[PATCH] SDL without X

The follwing patch allows SDL to compile on unix systems without X. Now
that i think about it it might be beter to just check if X is present
and get rid of the unix checks all together, well im lazy so do what ya
want, but this patch is beter than what is there now.


-------------- next part --------------
diff -urN SDL-1.1/include/SDL_syswm.h SDL-1.1.new/include/SDL_syswm.h
— SDL-1.1/include/SDL_syswm.h Thu Mar 16 09:20:37 2000
+++ SDL-1.1.new/include/SDL_syswm.h Wed Apr 12 09:08:33 2000
@@ -49,7 +49,7 @@

/* This is the structure for custom window manager events /
-#if defined(unix) || defined(unix) || defined(_AIX)
+#if (defined(unix) || defined(unix) || defined(_AIX)) && defined(ENABLE_X11)
AIX is unix, of course, but the native compiler CSet doesn’t define unix */
#include <X11/Xlib.h>
#include <X11/Xatom.h>