Sun, 05 Jul 2026 12:45:17 +0200
fix missing stdbool.h include for support for C17 and below
| src/bfile_heuristics.h | file | annotate | diff | comparison | revisions |
--- a/src/bfile_heuristics.h Sun Jul 05 12:44:44 2026 +0200 +++ b/src/bfile_heuristics.h Sun Jul 05 12:45:17 2026 +0200 @@ -27,6 +27,10 @@ #ifndef BFILE_HEURISTICS_H_ #define BFILE_HEURISTICS_H_ +#if __STDC_VERSION__ < 202311L +#include <stdbool.h> +#endif + #define BFILE_IGNORE 0x00 #define BFILE_LOW_ACCURACY 0x01 #define BFILE_MEDIUM_ACCURACY 0x02