summaryrefslogtreecommitdiff
path: root/include/GL/glext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/GL/glext.h')
-rw-r--r--include/GL/glext.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/GL/glext.h b/include/GL/glext.h
index f88d7e79b3..245f100c70 100644
--- a/include/GL/glext.h
+++ b/include/GL/glext.h
@@ -34,6 +34,11 @@ extern "C" {
** version 1.2.1 Specification.
*/
+#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__)
+#define WIN32_LEAN_AND_MEAN 1
+#include <windows.h>
+#endif
+
#ifndef APIENTRY
#define APIENTRY
#endif