summaryrefslogtreecommitdiff
path: root/include/GL
diff options
context:
space:
mode:
Diffstat (limited to 'include/GL')
-rw-r--r--include/GL/gl.h5
-rw-r--r--include/GL/internal/glcore.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 09195aa136..c0cebec2ef 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -88,8 +88,9 @@
#include <windows.h>
#endif
-#if defined(_WIN32) && !defined(_WINGDI_) && !defined(_GNU_H_WINDOWS32_DEFINES) \
- && !defined(OPENSTEP) && !defined(__CYGWIN__) || defined(__MINGW32__)
+#if defined(_WIN32) && !defined(_WINGDI_) && !defined(_WIN32_WCE) \
+ && !defined(_GNU_H_WINDOWS32_DEFINES) && !defined(OPENSTEP) \
+ && !defined(__CYGWIN__) || defined(__MINGW32__)
#include <GL/mesa_wgl.h>
#endif
diff --git a/include/GL/internal/glcore.h b/include/GL/internal/glcore.h
index fc0aaf3d5e..d62f31bb29 100644
--- a/include/GL/internal/glcore.h
+++ b/include/GL/internal/glcore.h
@@ -36,7 +36,9 @@
**
*/
+#if !defined(_WIN32_WCE)
#include <sys/types.h>
+#endif
#define GL_CORE_SGI 1
#define GL_CORE_MESA 2