From d5a0b3afc4aec78c6b687872630ba088dddd52d9 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Mon, 29 May 2023 18:13:10 +1000 Subject: [PATCH] include: Avoid including unnecessary Windows headers. We only require a few types and declarations. --- include/private/vkd3d_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/private/vkd3d_common.h b/include/private/vkd3d_common.h index 4f9dc4d6..6be3cee8 100644 --- a/include/private/vkd3d_common.h +++ b/include/private/vkd3d_common.h @@ -20,6 +20,7 @@ #define __VKD3D_COMMON_H #include "config.h" +#define WIN32_LEAN_AND_MEAN #include "vkd3d_windows.h" #include "vkd3d_types.h" @@ -28,6 +29,7 @@ #include #include #include +#include #ifdef _MSC_VER #include