summaryrefslogtreecommitdiffstats
path: root/src/glut
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut')
-rw-r--r--src/glut/glx/glut_joy.c2
-rw-r--r--src/glut/glx/glutint.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/glut/glx/glut_joy.c b/src/glut/glx/glut_joy.c
index a6f54f4a6a1..116f0328448 100644
--- a/src/glut/glx/glut_joy.c
+++ b/src/glut/glx/glut_joy.c
@@ -7,7 +7,7 @@
#ifdef _WIN32
#include <windows.h>
-#ifndef __CYGWIN32
+#ifndef __CYGWIN32__
#include <mmsystem.h> /* Win32 Multimedia API header. */
#endif
#endif
diff --git a/src/glut/glx/glutint.h b/src/glut/glx/glutint.h
index 6c825819c09..7849a01acd5 100644
--- a/src/glut/glx/glutint.h
+++ b/src/glut/glx/glutint.h
@@ -71,7 +71,7 @@ extern int sys$gettim(struct timeval *);
#endif
#else
#include <sys/types.h>
-#if !defined(_WIN32)
+#if !defined(_WIN32) || defined(__CYGWIN32__)
#include <sys/time.h>
#else
#include <winsock.h>