diff --git a/src/xrt/include/xrt/xrt_openxr_includes.h b/src/xrt/include/xrt/xrt_openxr_includes.h index 5616cf639..752c25078 100644 --- a/src/xrt/include/xrt/xrt_openxr_includes.h +++ b/src/xrt/include/xrt/xrt_openxr_includes.h @@ -36,6 +36,11 @@ typedef void (*__eglMustCastToProperFunctionPointerType)(void); // NOLINT typedef __eglMustCastToProperFunctionPointerType (*PFNEGLGETPROCADDRESSPROC)(const char *procname); #endif +#if defined(XR_USE_GRAPHICS_API_D3D11) +#include "xrt_windows.h" +#include +#endif + #ifdef XR_USE_TIMESPEC #include #endif