From 2d916c11c51a18d061157aaa96fed71b362aea04 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Fri, 15 Oct 2021 14:36:32 -0500 Subject: [PATCH] xrt: Fix OpenXR platform include on Windows --- src/xrt/include/xrt/xrt_openxr_includes.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xrt/include/xrt/xrt_openxr_includes.h b/src/xrt/include/xrt/xrt_openxr_includes.h index cc1859335..cb304e8bf 100644 --- a/src/xrt/include/xrt/xrt_openxr_includes.h +++ b/src/xrt/include/xrt/xrt_openxr_includes.h @@ -29,6 +29,10 @@ typedef void *GLXDrawable; typedef void *GLXContext; #endif +#ifdef XR_USE_PLATFORM_WIN32 +#include +#endif + #if defined(XR_USE_PLATFORM_EGL) || defined(XR_USE_GRAPHICS_API_OPENGL_ES) typedef void *EGLDisplay; typedef void *EGLContext;