aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/tuklib_common.h2
-rw-r--r--src/common/tuklib_config.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/common/tuklib_common.h b/src/common/tuklib_common.h
index 31fbab58..b1f531ea 100644
--- a/src/common/tuklib_common.h
+++ b/src/common/tuklib_common.h
@@ -14,7 +14,7 @@
#define TUKLIB_COMMON_H
// The config file may be replaced by a package-specific file.
-// It should include at least stddef.h, inttypes.h, and limits.h.
+// It should include at least stddef.h, stdbool.h, inttypes.h, and limits.h.
#include "tuklib_config.h"
// TUKLIB_SYMBOL_PREFIX is prefixed to all symbols exported by
diff --git a/src/common/tuklib_config.h b/src/common/tuklib_config.h
index 549cb24d..242092af 100644
--- a/src/common/tuklib_config.h
+++ b/src/common/tuklib_config.h
@@ -2,6 +2,7 @@
# include "sysdefs.h"
#else
# include <stddef.h>
+# include <stdbool.h>
# include <inttypes.h>
# include <limits.h>
#endif