summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
diff options
context:
space:
mode:
authorMasaki Muranaka <[email protected]>2013-03-29 10:06:23 +0900
committerMasaki Muranaka <[email protected]>2013-03-29 10:06:40 +0900
commita01e968cdbb940dba24ee95ba0129396c39e9fe7 (patch)
treea7da924a097335ce84665f30b4cae2ffc4753cea /mrbgems
parent8326b0ab70e2f9112bca9ad58e08ee130aab5d21 (diff)
downloadmruby-a01e968cdbb940dba24ee95ba0129396c39e9fe7.tar.gz
mruby-a01e968cdbb940dba24ee95ba0129396c39e9fe7.zip
Remove limits.h from numeric.h. Add limits.h to some C files.
Diffstat (limited to 'mrbgems')
-rw-r--r--mrbgems/mruby-numeric-ext/src/numeric_ext.c1
-rw-r--r--mrbgems/mruby-sprintf/src/sprintf.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/mrbgems/mruby-numeric-ext/src/numeric_ext.c b/mrbgems/mruby-numeric-ext/src/numeric_ext.c
index 1e5d5f5d9..09904c1a9 100644
--- a/mrbgems/mruby-numeric-ext/src/numeric_ext.c
+++ b/mrbgems/mruby-numeric-ext/src/numeric_ext.c
@@ -1,3 +1,4 @@
+#include <limits.h>
#include "mruby.h"
#include "mruby/numeric.h"
diff --git a/mrbgems/mruby-sprintf/src/sprintf.c b/mrbgems/mruby-sprintf/src/sprintf.c
index 1b41eb171..9989abf2f 100644
--- a/mrbgems/mruby-sprintf/src/sprintf.c
+++ b/mrbgems/mruby-sprintf/src/sprintf.c
@@ -6,6 +6,7 @@
#include "mruby.h"
+#include <limits.h>
#include <stdio.h>
#include <string.h>
#include "mruby/string.h"