]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_agl.c
move two #defined to quakedef.h, and always include quakedef.h first before any other...
[xonotic/darkplaces.git] / vid_agl.c
index 944f955901113b829bcec5e693f98f7dd3240f41..5937a167ee4f7ad85ae7f5e3dace0a4830b50917 100644 (file)
--- a/vid_agl.c
+++ b/vid_agl.c
@@ -21,6 +21,8 @@
 */
 
 
+#include "quakedef.h"
+
 #include <dlfcn.h>
 #include <signal.h>
 #include <AGL/agl.h>
@@ -30,7 +32,6 @@
 #include <IOKit/hidsystem/IOHIDParameter.h>
 #include <IOKit/hidsystem/event_status_driver.h>
 #include "vid_agl_mackeys.h" // this is SDL/src/video/maccommon/SDL_mackeys.h
-#include "quakedef.h"
 
 #ifndef kCGLCEMPEngine
 #define kCGLCEMPEngine 313