From 25d79204e3fd5b058a1d4b788f3b3facc955c329 Mon Sep 17 00:00:00 2001 From: Chip Davis Date: Wed, 4 Aug 2021 14:18:38 -0500 Subject: [PATCH] tests: Include from "d3d12_crosstest.h". (Clang). Neither MinGW's nor Microsoft's includes , either directly or indirectly. Also, unlike GCC, Clang's does not include , either. "vkd3d_windows.h" does include , and this is why building for the host works, even with Clang. Fixes cross compilation errors with Clang related to using offsetof(3). Signed-off-by: Chip Davis Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- tests/d3d12_crosstest.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/d3d12_crosstest.h b/tests/d3d12_crosstest.h index 43af375b..0b77bdee 100644 --- a/tests/d3d12_crosstest.h +++ b/tests/d3d12_crosstest.h @@ -52,6 +52,7 @@ typedef int HRESULT; #include #include #include +#include #include #ifdef _WIN32