summaryrefslogtreecommitdiff
path: root/src/glut/glx/glut_joy.c
diff options
context:
space:
mode:
authorzhang <zxpmyth@yahoo.com.cn>2007-06-28 08:12:52 -0600
committerJosé Fonseca <jfonseca@vmware.com>2011-07-11 20:03:35 +0100
commit85c9b897500d4832eca15802ddbf1bf75cbb7045 (patch)
tree7bd0a5de067e8abfde2344b9e53aad44abd5f32d /src/glut/glx/glut_joy.c
parent14273c06ffd74d22d1987214d522c85692c66597 (diff)
downloadglut-85c9b897500d4832eca15802ddbf1bf75cbb7045.tar.gz
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 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. */