Module: vkd3d
Branch: master
Commit: 5f2f126b705a0a1b7aa505b9c1a91fea8d6e7ffc
URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/5f2f126b705a0a1b7aa505b9c1a91…
Author: Giovanni Mascellani <gmascellani(a)codeweavers.com>
Date: Sun Mar 31 21:53:53 2024 +0200
include: Include stddef.h in vkd3d_shader.h.
Type size_t is used in the file without importing any header which
defines it. This only works when the translation unit includes one of
the appropriate headers anyway or when the appropriate header is included
internally by other standard C headers; none of those strategies should
be relied upon.
---
include/vkd3d_shader.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/vkd3d_shader.h b/include/vkd3d_shader.h
index 0ce2ef67..9ac5806c 100644
--- a/include/vkd3d_shader.h
+++ b/include/vkd3d_shader.h
@@ -21,6 +21,7 @@
#include <stdbool.h>
#include <stdint.h>
+#include <stddef.h>
#include <vkd3d_types.h>
#ifdef __cplusplus