SHA256
8
0
forked from pool/criterion
Files
criterion/criterion-gcc15.patch
Paolo Stivanin a2b0d4bc61 - added patches
fix build with gcc15
  + criterion-gcc15.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/criterion?expand=0&rev=7
2025-03-07 07:13:05 +00:00

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"