Add EGL_NO_X11 define to avoid including X11. (#90)
This allows unix-based systems to not depend on X11 headers to define
EGLNative types, using primitive types instead.
diff --git a/api/EGL/eglplatform.h b/api/EGL/eglplatform.h
index 29ab288..5ab49c1 100644
--- a/api/EGL/eglplatform.h
+++ b/api/EGL/eglplatform.h
@@ -116,6 +116,12 @@
typedef intptr_t EGLNativePixmapType;
typedef intptr_t EGLNativeWindowType;
+#elif defined(__unix__) && defined(EGL_NO_X11)
+
+typedef void *EGLNativeDisplayType;
+typedef khronos_uintptr_t EGLNativePixmapType;
+typedef khronos_uintptr_t EGLNativeWindowType;
+
#elif defined(__unix__) || defined(USE_X11)
/* X11 (tentative) */