summaryrefslogtreecommitdiffstats
path: root/src/glx/apple/apple_glx_drawable.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/apple/apple_glx_drawable.h')
-rw-r--r--src/glx/apple/apple_glx_drawable.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/glx/apple/apple_glx_drawable.h b/src/glx/apple/apple_glx_drawable.h
index a15858963dc..e49eae355e9 100644
--- a/src/glx/apple/apple_glx_drawable.h
+++ b/src/glx/apple/apple_glx_drawable.h
@@ -29,6 +29,11 @@
#ifndef APPLE_GLX_DRAWABLE_H
#define APPLE_GLX_DRAWABLE_H
+/* Must be first for:
+ * <rdar://problem/6953344>
+ */
+#include "apple_glx_context.h"
+
#include <pthread.h>
#include <stdbool.h>
#include <limits.h>
@@ -36,7 +41,6 @@
#define XP_NO_X_HEADERS
#include <Xplugin.h>
#undef XP_NO_X_HEADERS
-#include "apple_glx_context.h"
enum
{