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.
This commit is contained in:
Giovanni Mascellani 2024-03-31 21:53:53 +02:00 committed by Alexandre Julliard
parent 106cbc02de
commit 5f2f126b70
Notes: Alexandre Julliard 2024-04-03 00:21:46 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/747

View File

@ -21,6 +21,7 @@
#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>
#include <vkd3d_types.h>
#ifdef __cplusplus