summaryrefslogtreecommitdiffstats
path: root/src/glut/glx/glut_joy.c
diff options
context:
space:
mode:
authorzhang <[email protected]>2007-06-28 08:12:52 -0600
committerBrian <[email protected]>2007-06-28 08:12:52 -0600
commit37aca21129d87946d2dc6b45fa5bacd514921550 (patch)
tree1fcd114a8bf8aa783dd2c700eb1065828a63f309 /src/glut/glx/glut_joy.c
parentb0b02507b42ca43a7c9d9e9a10c2f49fc6f8d8ba (diff)
a variety of fixes for MingW
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 a4528ae1ce4..5025607922c 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. */