summaryrefslogtreecommitdiffstats
path: root/include/EGL
diff options
context:
space:
mode:
Diffstat (limited to 'include/EGL')
-rw-r--r--include/EGL/eglplatform.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h
index 6a67a3d29ff..ab3b7398ca7 100644
--- a/include/EGL/eglplatform.h
+++ b/include/EGL/eglplatform.h
@@ -8,12 +8,14 @@
/* Windows calling convention boilerplate */
#if (defined(WIN32) || defined(_WIN32_WCE))
#ifndef WIN32_LEAN_AND_MEAN
-#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
+#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
#endif
#include <windows.h>
#endif
+#if !defined(_WIN32_WCE)
#include <sys/types.h>
+#endif
/* Macros used in EGL function prototype declarations.
*