From: José Fonseca Date: Sat, 28 Jun 2008 11:40:44 +0000 (+0900) Subject: egl: WinCE doesn't have sys/types.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f9a1e43bce9bfa7a9cba2d7008fcec2890db02a;p=mesa.git egl: WinCE doesn't have sys/types.h --- 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 #endif +#if !defined(_WIN32_WCE) #include +#endif /* Macros used in EGL function prototype declarations. *