From a228c3efffdb20350eb515edbb1af14626947ac0 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Mon, 24 Feb 2020 16:57:46 +0000 Subject: [PATCH] xrt: Slightly more correct Display typedef Closes #49 --- src/xrt/include/xrt/xrt_gfx_xlib.h | 2 +- src/xrt/include/xrt/xrt_openxr_includes.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xrt/include/xrt/xrt_gfx_xlib.h b/src/xrt/include/xrt/xrt_gfx_xlib.h index f4adae384..c29cef607 100644 --- a/src/xrt/include/xrt/xrt_gfx_xlib.h +++ b/src/xrt/include/xrt/xrt_gfx_xlib.h @@ -17,7 +17,7 @@ extern "C" { #endif -typedef void *Display; +typedef struct _XDisplay Display; typedef void *GLXFBConfig; typedef void *GLXDrawable; typedef void *GLXContext; diff --git a/src/xrt/include/xrt/xrt_openxr_includes.h b/src/xrt/include/xrt/xrt_openxr_includes.h index f956fb3f9..012f2a9cc 100644 --- a/src/xrt/include/xrt/xrt_openxr_includes.h +++ b/src/xrt/include/xrt/xrt_openxr_includes.h @@ -14,7 +14,7 @@ #define XR_USE_TIMESPEC 1 #ifdef XR_USE_PLATFORM_XLIB -typedef void *Display; +typedef struct _XDisplay Display; typedef void *GLXFBConfig; typedef void *GLXDrawable; typedef void *GLXContext;