summaryrefslogtreecommitdiff
path: root/src/system-gl.h
diff options
context:
space:
mode:
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