egl: WinCE doesn't have sys/types.h
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Sat, 28 Jun 2008 11:40:44 +0000 (20:40 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Sat, 28 Jun 2008 11:40:44 +0000 (20:40 +0900)
include/EGL/eglplatform.h

index 6a67a3d..ab3b739 100644 (file)
@@ -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.
  *