--- a/include/criterion/alloc.h +++ b/include/criterion/alloc.h @@ -31,9 +31,11 @@ #ifdef __cplusplus # include # include +# include using std::size_t; #else # include +# include #endif #include "internal/common.h"