diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2019-07-12 18:10:57 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2019-07-12 18:10:57 +0300 |
commit | 72a443281fb0b91aebf8cdff2ab1f7c07b081240 (patch) | |
tree | 504dbff7f8436beb4b0776124e9f4732f213daeb /src | |
parent | xz: Automatically align the strings in --info-memory. (diff) | |
download | xz-72a443281fb0b91aebf8cdff2ab1f7c07b081240.tar.xz |
Update tuklib base headers to include stdbool.h.
Diffstat (limited to 'src')
-rw-r--r-- | src/common/tuklib_common.h | 2 | ||||
-rw-r--r-- | src/common/tuklib_config.h | 1 |
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 |