summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2015-08-24 07:29:17 +0000
committerManolo Gouy <Manolo>2015-08-24 07:29:17 +0000
commitcc296e50b068d0d7de4d840fc3eb034a61515fe7 (patch)
treee61aedff583ab87b0f8110ac005256251437ed80
parent5cc6913cb7f5732d00b7c2f76a18ed60d0860440 (diff)
Restore compilability with Mac OS 10.3
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10837 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--FL/gl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/FL/gl.h b/FL/gl.h
index 0a1be77d0..c4d6abcd8 100644
--- a/FL/gl.h
+++ b/FL/gl.h
@@ -56,6 +56,7 @@
# ifdef __APPLE__
# include <OpenGL/gl.h>
+# include <FL/x.H> // makes sure MAC_OS_X_VERSION_10_4 is defined
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_4
# include <OpenGL/glext.h>
#endif