]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
testsuite: C23 bool compatibility
authorZen Dodd <mail@steadytao.com>
Sat, 18 Jul 2026 07:13:11 +0000 (17:13 +1000)
committerAndrew Tridgell <andrew@tridgell.net>
Sun, 19 Jul 2026 21:27:22 +0000 (07:27 +1000)
wildtest.c

index df87f9240980ee6bebd9fc386ff295d6d00f05c4..5867bb1ccbca90ccb864c6bfaafb8eafd9eb7994 100644 (file)
@@ -23,6 +23,7 @@
 #include "lib/wildmatch.c"
 
 #include <popt.h>
+#include <stdbool.h>
 
 #ifdef COMPARE_WITH_FNMATCH
 #include <fnmatch.h>
@@ -32,10 +33,6 @@ int fnmatch_errors = 0;
 
 int wildmatch_errors = 0;
 
-#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 202311L
-typedef char bool;
-#endif
-
 int output_iterations = 0;
 int explode_mod = 0;
 int empties_mod = 0;