]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_agl.c
can't move quakedef.h up in vid_agl.c (redefinition of OpenGL stuff)
[xonotic/darkplaces.git] / vid_agl.c
index 5937a167ee4f7ad85ae7f5e3dace0a4830b50917..39b87c0e8126b9b1c3c183dd0330dbc5adbfe289 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