aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2019-07-12 18:10:57 +0300
committerLasse Collin <lasse.collin@tukaani.org>2019-07-12 18:10:57 +0300
commit72a443281fb0b91aebf8cdff2ab1f7c07b081240 (patch)
tree504dbff7f8436beb4b0776124e9f4732f213daeb /src/common
parentxz: Automatically align the strings in --info-memory. (diff)
downloadxz-72a443281fb0b91aebf8cdff2ab1f7c07b081240.tar.xz
Update tuklib base headers to include stdbool.h.
Diffstat (limited to 'src/common')
-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