summaryrefslogtreecommitdiffstats
path: root/src/glut/glx/glut_joy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut/glx/glut_joy.c')
-rw-r--r--src/glut/glx/glut_joy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glut/glx/glut_joy.c b/src/glut/glx/glut_joy.c
index a4528ae..5025607 100644
--- a/src/glut/glx/glut_joy.c
+++ b/src/glut/glx/glut_joy.c
@@ -6,6 +6,9 @@
implied. This program is -not- in the public domain. */
#ifdef _WIN32
+#ifdef __MINGW32__
+#include <GL/gl.h>
+#endif
#include <windows.h>
#ifndef __CYGWIN32__
#include <mmsystem.h> /* Win32 Multimedia API header. */