summaryrefslogtreecommitdiffstats
path: root/src/glut/glx/glut_input.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_input.c
parentb0b02507b42ca43a7c9d9e9a10c2f49fc6f8d8ba (diff)
a variety of fixes for MingW
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. */