summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-06-28 20:40:44 +0900
committerJosé Fonseca <[email protected]>2008-06-28 20:40:44 +0900
commit0f9a1e43bce9bfa7a9cba2d7008fcec2890db02a (patch)
treee2916a1a114605d1c7550c489dbdf33302b6a779 /include
parenta7499b7fc753653fd24a91b1ab6a5b68e479193b (diff)
egl: WinCE doesn't have sys/types.h
Diffstat (limited to 'include')
-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.
*