diff options
-rw-r--r-- | changelog.md | 4 | ||||
-rw-r--r-- | include/u8c/u32free.h | 1 | ||||
-rw-r--r-- | include/u8c/u8free.h | 1 | ||||
-rw-r--r-- | include/u8c/ver.h | 2 |
4 files changed, 7 insertions, 1 deletions
diff --git a/changelog.md b/changelog.md index 09135ac..edc7569 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +# 15 + +* Add missing include directives to `include/u8c/u32free.h` and `include/u8c/u8free.h`. + # 14 * Free error message when `u8c_geterr` is called (after copying, of course). diff --git a/include/u8c/u32free.h b/include/u8c/u32free.h index 8a12c97..fd431e0 100644 --- a/include/u8c/u32free.h +++ b/include/u8c/u32free.h @@ -16,6 +16,7 @@ /* Format */ # if !defined(u8c_u32free) # if defined(__cplusplus) +# include <cstdint> # include <cstdlib> # define u8c_u32free(u32) (std::free(const_cast<uint_least32_t *>(u32))) # else diff --git a/include/u8c/u8free.h b/include/u8c/u8free.h index a1940da..1ae3242 100644 --- a/include/u8c/u8free.h +++ b/include/u8c/u8free.h @@ -16,6 +16,7 @@ /* Format */ # if !defined(u8c_u8free) # if defined(__cplusplus) +# include <cstdint> # include <cstdlib> # define u8c_u8free(u8) (std::free(const_cast<std::uint_least8_t *>(u8))) # else diff --git a/include/u8c/ver.h b/include/u8c/ver.h index c53bd70..f10872c 100644 --- a/include/u8c/ver.h +++ b/include/u8c/ver.h @@ -16,5 +16,5 @@ /* Version */ # if !defined(u8c_ver) # include <stdint.h> -# define u8c_ver (UINT64_C(0x10)) +# define u8c_ver (UINT64_C(0x11)) # endif |