From 292d9de105e6206584285651d5fbf546abe3a109 Mon Sep 17 00:00:00 2001
From: Michal Ruprich <mruprich@redhat.com>
Date: Fri, 17 Jan 2025 12:37:57 +0100
Subject: [PATCH 03/60] bool is a keyword in C23

---
 wildtest.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/wildtest.c b/wildtest.c
index bea4cebb..482cdf17 100644
--- a/wildtest.c
+++ b/wildtest.c
@@ -32,7 +32,9 @@ 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;
-- 
2.51.0

