summaryrefslogtreecommitdiffstats
path: root/src/glx/apple/apple_glx_drawable.h
diff options
context:
space:
mode:
authorJeremy Huddleston <[email protected]>2010-04-12 18:37:47 -0700
committerJeremy Huddleston <[email protected]>2010-04-27 12:37:16 -0700
commita1cb3babbef2af222b839a058694acc82a7074f1 (patch)
treeaabd71a9c7b24c61816f759fd835dc2e1f4170ba /src/glx/apple/apple_glx_drawable.h
parentf64773010d0dd204177d08716565db69f6263e0f (diff)
Buildfixes to work around issues in OpenGL.framework
Signed-off-by: Jeremy Huddleston <[email protected]>
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
{