Mesa (main): microsoft/compiler: Include stddef.h before using size_t

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 15 12:23:41 UTC 2022


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

Author: Yonggang Luo <luoyonggang at gmail.com>
Date:   Sat Apr 30 05:00:59 2022 +0800

microsoft/compiler: Include stddef.h before using size_t

Signed-off-by: Yonggang Luo <luoyonggang at gmail.com>
Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16671>

---

 src/microsoft/compiler/dxil_validator.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/microsoft/compiler/dxil_validator.h b/src/microsoft/compiler/dxil_validator.h
index 0a880eb155d..de5c064b711 100644
--- a/src/microsoft/compiler/dxil_validator.h
+++ b/src/microsoft/compiler/dxil_validator.h
@@ -24,6 +24,8 @@
 #ifndef DXIL_VALIDATOR_H
 #define DXIL_VALIDATOR_H
 
+#include <stddef.h>
+
 struct dxil_validator;
 
 #ifdef __cplusplus



More information about the mesa-commit mailing list