summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/GL/glut.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/GL/glut.h b/include/GL/glut.h
index 49225361bb..45fed43549 100644
--- a/include/GL/glut.h
+++ b/include/GL/glut.h
@@ -11,7 +11,10 @@
#include <GL/glu.h>
#if defined(__MINGW32__)
-#include <GL/mesa_wgl.h>
+# ifndef WIN32_LEAN_AND_MEAN
+# define WIN32_LEAN_AND_MEAN 1
+# endif
+# include <windows.h>
#endif
#ifdef __cplusplus