summaryrefslogtreecommitdiffstats
path: root/include/EGL/eglplatform.h
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-28 20:40:44 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-28 20:40:44 +0900
commit0f9a1e43bce9bfa7a9cba2d7008fcec2890db02a (patch)
treee2916a1a114605d1c7550c489dbdf33302b6a779 /include/EGL/eglplatform.h
parenta7499b7fc753653fd24a91b1ab6a5b68e479193b (diff)
downloadexternal_mesa3d-0f9a1e43bce9bfa7a9cba2d7008fcec2890db02a.zip
external_mesa3d-0f9a1e43bce9bfa7a9cba2d7008fcec2890db02a.tar.gz
external_mesa3d-0f9a1e43bce9bfa7a9cba2d7008fcec2890db02a.tar.bz2
egl: WinCE doesn't have sys/types.h
Diffstat (limited to 'include/EGL/eglplatform.h')
-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 6a67a3d..ab3b739 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.
*