Mesa (main): zink: fix win32 build

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 3 21:09:19 UTC 2021


Module: Mesa
Branch: main
Commit: 10a3e388a44045a2314c228054701ee0ee262659
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=10a3e388a44045a2314c228054701ee0ee262659

Author: Michel Zou <xantares09 at hotmail.com>
Date:   Thu Jun  3 20:16:38 2021 +0200

zink: fix win32 build

Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11170>

---

 src/gallium/drivers/zink/zink_context.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/zink/zink_context.c b/src/gallium/drivers/zink/zink_context.c
index c7e916b6423..1f1cfa8d569 100644
--- a/src/gallium/drivers/zink/zink_context.c
+++ b/src/gallium/drivers/zink/zink_context.c
@@ -47,6 +47,7 @@
 #include "util/u_inlines.h"
 #include "util/u_thread.h"
 #include "util/u_cpu_detect.h"
+#include "util/strndup.h"
 #include "nir.h"
 
 #include "util/u_memory.h"



More information about the mesa-commit mailing list