diff src/video/x11/SDL_x11events.c @ 3241:08c5964f2a34

Fixed a few issues compiling with Mac OS X 10.6 Unfortunately the audio and cdrom systems do not build at all, and if you disable those, SDL still fails to link with these errors: Undefined symbols: "_OBJC_IVAR_$_NSScreen._frame", referenced from: -[NSScreen(NSScreenAccess) setFrame:] in SDL_cocoamodes.o "_KLGetKeyboardLayoutProperty", referenced from: _UpdateKeymap in SDL_cocoakeyboard.o _UpdateKeymap in SDL_cocoakeyboard.o "_KLGetCurrentKeyboardLayout", referenced from: _UpdateKeymap in SDL_cocoakeyboard.o ld: symbol(s) not found
author Sam Lantinga <slouken@libsdl.org>
date Sat, 05 Sep 2009 07:33:54 +0000
parents 08747e24a50f
children d9dd6cbba4c0
line wrap: on
line diff
--- a/src/video/x11/SDL_x11events.c	Sat Sep 05 07:13:01 2009 +0000
+++ b/src/video/x11/SDL_x11events.c	Sat Sep 05 07:33:54 2009 +0000
@@ -25,11 +25,12 @@
 #include <sys/time.h>
 #include <unistd.h>
 
-#include "SDL_syswm.h"
 #include "SDL_x11video.h"
 #include "../../events/SDL_events_c.h"
 #include "../../events/SDL_mouse_c.h"
 
+#include "SDL_syswm.h"
+
 static void
 X11_DispatchEvent(_THIS)
 {