summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-02-10 12:34:23 -0800
committerIan Romanick <ian.d.romanick@intel.com>2010-02-10 12:51:47 -0800
commit10b21d8ee969cd5af003376837e14bde932024be (patch)
tree8766cac1fff815f62280f506ac989e4179d5a4e5
parent6947b8fe127830de5af5aa465d6b9cf111c7f4ed (diff)
Include windows.h before including GL/gl.h on Windows.
-rw-r--r--include/glu3.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/glu3.h b/include/glu3.h
index f3cbfcf..a2fbd47 100644
--- a/include/glu3.h
+++ b/include/glu3.h
@@ -29,6 +29,11 @@
* Interface definitions for GLU3 library.
*/
+#ifdef _WIN32
+#define WIN32_LEAN_AND_MEAN 1
+#include <windows.h>
+#endif
+
#include <GL/gl.h>
#define GLU_VERSION_3_0