summaryrefslogtreecommitdiff
blob: 9fbce640ce5e75d24921b324814fb36f92a9a1ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/include/criterion/alloc.h
+++ b/include/criterion/alloc.h
@@ -31,9 +31,11 @@
 #ifdef __cplusplus
 # include <memory>
 # include <cstddef>
+# include <cstdint>
 using std::size_t;
 #else
 # include <stddef.h>
+# include <stdint.h>
 #endif
 #include "internal/common.h"