summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/trdx-nv-binaries/files/eglplatform.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/trdx-nv-binaries/files/eglplatform.h b/recipes/trdx-nv-binaries/files/eglplatform.h
index 628968e..a141762 100644
--- a/recipes/trdx-nv-binaries/files/eglplatform.h
+++ b/recipes/trdx-nv-binaries/files/eglplatform.h
@@ -106,9 +106,10 @@ typedef void *EGLNativeDisplayType;
#elif defined(__unix__)
+/* don't include the X headers here, some define clash with Qt5 symbols */
#if 1
-typedef void *EGLNativeDisplayType;
+typedef struct _XDisplay *EGLNativeDisplayType;
typedef khronos_uint32_t EGLNativePixmapType;
typedef khronos_uint32_t EGLNativeWindowType;