summaryrefslogtreecommitdiff
path: root/src/system-gl.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-01-29 12:20:40 (GMT)
committerMarius Kintel <marius@kintel.net>2012-01-29 12:20:40 (GMT)
commit65181c9ad63f2631c0add7fc1a68bf7b3388ac58 (patch)
tree0fd8f3e0fcc56ea46ed4ba08f7f18aaf8f1aed7e /src/system-gl.h
parent12021077c572a622d6409fa657c64bfc23ba9fc7 (diff)
Windows compile fix. Fixes #73
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