Update tuklib base headers to include stdbool.h.

This commit is contained in:
Lasse Collin 2019-07-12 18:10:57 +03:00
parent de1f47b2b4
commit 72a443281f
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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