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.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/glut/glx/win32_winproc.c b/src/glut/glx/win32_winproc.c
index 2607a205cd6..945b7eb9ca9 100644
--- a/src/glut/glx/win32_winproc.c
+++ b/src/glut/glx/win32_winproc.c
@@ -8,13 +8,9 @@
#include "glutint.h"
-#if defined(__CYGWIN32__)
-typedef MINMAXINFO* LPMINMAXINFO;
-#else
#include <sys/timeb.h>
-#endif
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__CYGWIN32__)
#include <mmsystem.h> /* Win32 Multimedia API header. */
#endif