diff --git a/include/compat/stdint.h b/include/compat/stdint.h new file mode 100644 index 0000000..2829151 --- /dev/null +++ b/include/compat/stdint.h @@ -0,0 +1,19 @@ +/* + * Public domain + * stdint.h compatibility shim + */ + +#ifdef _MSC_VER +#include <../include/stdint.h> +#else +#include_next +#endif + +#ifndef LIBCRYPTOCOMPAT_STDINT_H +#define LIBCRYPTOCOMPAT_STDINT_H + +#ifndef SIZE_MAX +#include +#endif + +#endif