egl: Use khronos types for EGL_MESA_screen_surface.
[mesa.git] / include / EGL / eglplatform.h
index 22e855f56cad4deef0d5c4b3e5c9989a4150962a..c625088d6cba07c23eecd2abde15d6007c1ed918 100644 (file)
@@ -78,7 +78,7 @@ typedef int   EGLNativeDisplayType;
 typedef void *EGLNativeWindowType;
 typedef void *EGLNativePixmapType;
 
-#elif defined(__unix__)
+#elif defined(__unix__) || defined(__unix)
 
 /* X11 (tentative)  */
 #include <X11/Xlib.h>