aboutsummaryrefslogtreecommitdiff
path: root/grab.c
diff options
context:
space:
mode:
Diffstat (limited to 'grab.c')
-rw-r--r--grab.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/grab.c b/grab.c
index 7f0e9f4..4b80aba 100644
--- a/grab.c
+++ b/grab.c
@@ -5,7 +5,9 @@
#include <limits.h>
#include <locale.h>
#include <regex.h>
-#include <stdbool.h>
+#if !GRAB_IS_C23
+# include <stdbool.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>