summaryrefslogtreecommitdiff
path: root/src/system-gl.h
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2012-01-29 14:33:52 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2012-01-29 14:33:52 (GMT)
commitfcd0629a12123b15cfce6ee3d444ef938e556ad6 (patch)
tree9c344cb5520d26de206a2b6022da6d9329172014 /src/system-gl.h
parent85fbe5073e12a45a3ca1aaf705e1edd0272dd9c0 (diff)
parente6222d95205887124f670db65d8f9e4930af602b (diff)
Merge branch 'master' of github.com:openscad/openscad
Diffstat (limited to 'src/system-gl.h')
-rw-r--r--src/system-gl.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/system-gl.h b/src/system-gl.h
index 76b49e7..0377b72 100644
--- a/src/system-gl.h
+++ b/src/system-gl.h
@@ -4,9 +4,12 @@
#include <GL/glew.h>
#ifdef __APPLE__
-#include <OpenGL/OpenGL.h>
+ #include <OpenGL/OpenGL.h>
#else
-#include <GL/gl.h>
+ #include <GL/gl.h>
+ #ifdef _WIN32
+ #include <windows.h> // For the CALLBACK macro
+ #endif
#endif
#endif
contact: Jan Huwald // Impressum