summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/u8c/u32free.h1
-rw-r--r--include/u8c/u8free.h1
-rw-r--r--include/u8c/ver.h2
3 files changed, 3 insertions, 1 deletions
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