genbindings/cabi: add necessary header for size_t

This commit is contained in:
mappu 2024-08-10 10:33:31 +12:00
parent 91c2e0fa9b
commit 460b8aaef8

View File

@ -96,6 +96,7 @@ func emitBindingHeader(src *CppParsedHeader, filename string) (string, error) {
#define ` + includeGuard + ` #define ` + includeGuard + `
#include <stdbool.h> #include <stdbool.h>
#include <stddef.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {