summaryrefslogtreecommitdiff
path: root/indra/llrender/llglheaders.h
diff options
context:
space:
mode:
authorAura Linden <aura@lindenlab.com>2012-07-18 17:35:10 -0700
committerAura Linden <aura@lindenlab.com>2012-07-18 17:35:10 -0700
commit35eda06ae47255f4d4ba15ab7e3df443c1c39a6e (patch)
tree80079c784d67cab3c035000ac6896dae0153b149 /indra/llrender/llglheaders.h
parentc3d1ed5b768b387961edfec124b645359563053f (diff)
llglheader include change for building on Lion
Diffstat (limited to 'indra/llrender/llglheaders.h')
-rw-r--r--indra/llrender/llglheaders.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llrender/llglheaders.h b/indra/llrender/llglheaders.h
index a0727b8686..d93f464502 100644
--- a/indra/llrender/llglheaders.h
+++ b/indra/llrender/llglheaders.h
@@ -993,7 +993,12 @@ extern void glGetBufferPointervARB (GLenum, GLenum, GLvoid* *);
}
#endif
+#ifdef MAC_OS_VERSION_10_7
+#include <OpenGL/gl.h>
+#else
#include <AGL/gl.h>
+#endif
+
#endif // LL_MESA / LL_WINDOWS / LL_DARWIN