can't move quakedef.h up in vid_agl.c (redefinition of OpenGL stuff)
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 12 Nov 2007 14:59:13 +0000 (14:59 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 12 Nov 2007 14:59:13 +0000 (14:59 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7691 d7cf8633-e32d-0410-b094-e92efae38249

vid_agl.c

index 5937a16..39b87c0 100644 (file)
--- a/vid_agl.c
+++ b/vid_agl.c
@@ -21,8 +21,6 @@
 */
 
 
-#include "quakedef.h"
-
 #include <dlfcn.h>
 #include <signal.h>
 #include <AGL/agl.h>
@@ -31,6 +29,7 @@
 #include <IOKit/hidsystem/IOHIDLib.h>
 #include <IOKit/hidsystem/IOHIDParameter.h>
 #include <IOKit/hidsystem/event_status_driver.h>
+#include "quakedef.h"
 #include "vid_agl_mackeys.h" // this is SDL/src/video/maccommon/SDL_mackeys.h
 
 #ifndef kCGLCEMPEngine