include stddef for size_t type for ptr

This commit is contained in:
JacobBarthelmeh
2021-07-08 07:06:20 -06:00
parent 7bcd0da164
commit 127add4bf7

View File

@ -205,6 +205,7 @@ decouple library dependencies with standard string, memory and so on.
#include <stdint.h>
typedef uintptr_t wc_ptr_t;
#else /* fallback to architecture size_t for pointer size */
#include <stddef.h> /* included for getting size_t type */
typedef size_t wc_ptr_t;
#endif