improve C header compatibility

Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
folling 2025-01-05 18:48:24 +01:00 committed by Folling
parent a029b95a10
commit 71b2fee6a6
Signed by: folling
SSH key fingerprint: SHA256:S9qEx5WCFFLK49tE/LKnKuJYM5sw+++Dn6qJbbyxnCY
9 changed files with 151 additions and 165 deletions

View file

@ -1,11 +1,11 @@
#pragma once
#ifdef __cplusplus
#include <cstddef>
#include <cstdint>
#include <cstddef>
#include <cstdint>
using std::size_t;
#else
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#endif