summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mruby/value.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mruby/value.h b/include/mruby/value.h
index 5c1aa10a6..0eac19df9 100644
--- a/include/mruby/value.h
+++ b/include/mruby/value.h
@@ -22,6 +22,8 @@ struct mrb_state;
# error "You can't define MRB_INT16 and MRB_INT64 at the same time."
#endif
+#include <inttypes.h>
+
#if defined(MRB_INT64)
typedef int64_t mrb_int;
# define MRB_INT_BIT 64