Mesa (main): zink: Fix win32 build
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jun 14 20:15:38 UTC 2021
Module: Mesa
Branch: main
Commit: f9a69cbcd405ab38e94846ee8fbf25526e62f85f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9a69cbcd405ab38e94846ee8fbf25526e62f85f
Author: Michel Zou <xantares09 at hotmail.com>
Date: Mon Jun 14 10:14:32 2021 +0200
zink: Fix win32 build
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11338>
---
src/vulkan/util/vk_dispatch_table_gen.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/vulkan/util/vk_dispatch_table_gen.py b/src/vulkan/util/vk_dispatch_table_gen.py
index 0966bc50fd6..9caba3035c4 100644
--- a/src/vulkan/util/vk_dispatch_table_gen.py
+++ b/src/vulkan/util/vk_dispatch_table_gen.py
@@ -55,6 +55,7 @@ TEMPLATE_H = Template(COPYRIGHT + """\
/* Windows api conflict */
#ifdef _WIN32
+#include <windows.h>
#ifdef CreateSemaphore
#undef CreateSemaphore
#endif
More information about the mesa-commit
mailing list