Skip to content

Commit 22468a1

Browse files
committed
Fix: Resolve GCC 15 compatibility issues
1 parent dd3d9f7 commit 22468a1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Tue 13 May 2025 Aleksey Kravchenko
2+
* Bugfix: Compilation error with GCC 15
3+
14
Sat 19 Apr 2025 Aleksey Kravchenko
25
* Speed up file reading while hashing a file
36

librhash/test_lib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#include "byte_order.h"
66
#include "util.h"
7+
#include <limits.h>
78

89
/* first some magic to convert a macro value to a string */
910
#define STRINGIZE_ARG(x) #x
@@ -267,7 +268,6 @@ char* compiler_flags = "Compile-time flags:"
267268
" __MACH__"
268269
#endif
269270

270-
#include <limits.h>
271271
#ifdef __GLIBC__ /* GLIBC >= 6 */
272272
" __GLIBC__"
273273
" (__GLIBC__=" EXPAND_TO_STRING(__GLIBC__) ",__GLIBC_MINOR__=" EXPAND_TO_STRING(__GLIBC_MINOR__) ")"

0 commit comments

Comments
 (0)