From 374e6d06253fffc51288f0bc8b96de0e26e6ec31 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Mon, 26 Jan 2015 17:35:20 +0100 Subject: trdx-nv-binaries: don't include X11 headers in eglplatform.h Use the exact base types as X11 defines them. Newer compilers through errors when mixing unsigned with unsigned long and the likes. --- recipes/trdx-nv-binaries/files/eglplatform.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/trdx-nv-binaries/files/eglplatform.h b/recipes/trdx-nv-binaries/files/eglplatform.h index a141762..72b5f2d 100644 --- a/recipes/trdx-nv-binaries/files/eglplatform.h +++ b/recipes/trdx-nv-binaries/files/eglplatform.h @@ -110,8 +110,8 @@ typedef void *EGLNativeDisplayType; #if 1 typedef struct _XDisplay *EGLNativeDisplayType; -typedef khronos_uint32_t EGLNativePixmapType; -typedef khronos_uint32_t EGLNativeWindowType; +typedef unsigned long EGLNativePixmapType; +typedef unsigned long EGLNativeWindowType; #else -- cgit v1.2.3