mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Update tuklib base headers to include stdbool.h.
This commit is contained in:
parent
de1f47b2b4
commit
72a443281f
2 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
||||||
#define TUKLIB_COMMON_H
|
#define TUKLIB_COMMON_H
|
||||||
|
|
||||||
// The config file may be replaced by a package-specific file.
|
// 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"
|
#include "tuklib_config.h"
|
||||||
|
|
||||||
// TUKLIB_SYMBOL_PREFIX is prefixed to all symbols exported by
|
// TUKLIB_SYMBOL_PREFIX is prefixed to all symbols exported by
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# include "sysdefs.h"
|
# include "sysdefs.h"
|
||||||
#else
|
#else
|
||||||
# include <stddef.h>
|
# include <stddef.h>
|
||||||
|
# include <stdbool.h>
|
||||||
# include <inttypes.h>
|
# include <inttypes.h>
|
||||||
# include <limits.h>
|
# include <limits.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue