summaryrefslogtreecommitdiff
path: root/include/EGL/eglplatform.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/EGL/eglplatform.h')
-rw-r--r--include/EGL/eglplatform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h
index 22e855f56c..c625088d6c 100644
--- a/include/EGL/eglplatform.h
+++ b/include/EGL/eglplatform.h
@@ -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>