From 5f2f126b705a0a1b7aa505b9c1a91fea8d6e7ffc Mon Sep 17 00:00:00 2001 From: Giovanni Mascellani Date: Sun, 31 Mar 2024 21:53:53 +0200 Subject: [PATCH] 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 #include +#include #include #ifdef __cplusplus