[PATCH 0/1] MR747: include: Include stddef.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. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/747
From: Giovanni Mascellani <gmascellani(a)codeweavers.com> 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 0ce2ef67b..9ac5806c8 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 -- GitLab https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/747
participants (2)
-
Giovanni Mascellani -
Giovanni Mascellani (@giomasce)