summaryrefslogtreecommitdiffstats
path: root/src/glut/glx/win32_winproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut/glx/win32_winproc.c')
-rw-r--r--src/glut/glx/win32_winproc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glut/glx/win32_winproc.c b/src/glut/glx/win32_winproc.c
index a54bac75fa0..e1fc785ebb7 100644
--- a/src/glut/glx/win32_winproc.c
+++ b/src/glut/glx/win32_winproc.c
@@ -9,6 +9,9 @@
#include "glutint.h"
#include <sys/timeb.h>
+#ifdef __MINGW32__
+#include <ctype.h>
+#endif
#if defined(_WIN32) && !defined(__CYGWIN32__)
#include <mmsystem.h> /* Win32 Multimedia API header. */