forked from pool/criterion
fix build with gcc15 + criterion-gcc15.patch OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/criterion?expand=0&rev=7
17 lines
377 B
Diff
17 lines
377 B
Diff
Index: include/criterion/alloc.h
|
|
===================================================================
|
|
--- 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"
|
|
|