summaryrefslogtreecommitdiff
path: root/FL/gl.h
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2015-07-18 07:18:15 +0000
committerManolo Gouy <Manolo>2015-07-18 07:18:15 +0000
commit1cf24ff074201327a9153f83045cf6e9fce5bd70 (patch)
treef7fbcad25e58701166edd673162e66f62569fdac /FL/gl.h
parent63433f9be790ce69ad3686d18f1c35326fd0e3f6 (diff)
Restore compilability with Mac OS SDK 10.3 and above
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10798 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/gl.h')
-rw-r--r--FL/gl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/FL/gl.h b/FL/gl.h
index d175c55ec..0a1be77d0 100644
--- a/FL/gl.h
+++ b/FL/gl.h
@@ -56,6 +56,9 @@
# ifdef __APPLE__
# include <OpenGL/gl.h>
+#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_4
+# include <OpenGL/glext.h>
+#endif
# else
# include <GL/gl.h>
# endif