summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h
index 229bafb..4408feb 100644
--- a/src/config.h
+++ b/src/config.h
@@ -8,9 +8,13 @@
#ifndef BFS_CONFIG_H
#define BFS_CONFIG_H
-#include <stdbool.h>
#include <stddef.h>
+#if __STDC_VERSION__ < 202311L
+# include <stdalign.h>
+# include <stdbool.h>
+#endif
+
// bfs packaging configuration
#ifndef BFS_COMMAND