Description: Fix C++ compilation failure caused by missing SIZE_MAX declaration
 In the C++ branch of include/criterion/alloc.h, the new_arr templates use
 SIZE_MAX which is defined in <cstdint>.  Without the include, any C++
 translation unit including this header fails with
 "SIZE_MAX was not declared in this scope".  Add the missing <cstdint>
 include so that C++ samples and downstream C++ users can compile.
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Origin: other
Forwarded: not-needed
Last-Update: 2026-09-01

--- criterion-2.4.1.orig/include/criterion/alloc.h
+++ criterion-2.4.1/include/criterion/alloc.h
@@ -31,6 +31,7 @@
 #ifdef __cplusplus
 # include <memory>
 # include <cstddef>
+# include <cstdint>
 using std::size_t;
 #else
 # include <stddef.h>
