aboutsummaryrefslogtreecommitdiff
path: root/grab.c
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-01-11 22:55:45 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-01-11 22:55:45 +0100
commitf0b43c611e9d33f57fcc7abd8f49132fc3cd7d95 (patch)
treed87a4b690e34f216bc0c1a822acc538549c5d3f3 /grab.c
parent475d7ccc4c23972998a666204af77502ec3dbe04 (diff)
Make things work a bit better on C23
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>