summaryrefslogtreecommitdiffstats
path: root/src/glut/glx/glut_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut/glx/glut_input.c')
-rw-r--r--src/glut/glx/glut_input.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glut/glx/glut_input.c b/src/glut/glx/glut_input.c
index add3df7c3fd..a76ff9a435e 100644
--- a/src/glut/glx/glut_input.c
+++ b/src/glut/glx/glut_input.c
@@ -23,6 +23,9 @@
#endif
#include <X11/Xutil.h>
#else
+#ifdef __MINGW32__
+#include <GL/gl.h>
+#endif
#include <windows.h>
#ifndef __CYGWIN32__
#include <mmsystem.h> /* Win32 Multimedia API header. */