diff options
| author | Masaki Muranaka <[email protected]> | 2013-03-16 21:26:06 +0900 |
|---|---|---|
| committer | Masaki Muranaka <[email protected]> | 2013-03-16 21:29:39 +0900 |
| commit | 3aa3b4af90f9b5ccc24cb29550e470fc2733c6e0 (patch) | |
| tree | f436d7877509049c2edb1daea4b57af6f3a793d8 /tools | |
| parent | 6ba298ed54e647579d8b802784c314ecc32acb2c (diff) | |
| download | mruby-3aa3b4af90f9b5ccc24cb29550e470fc2733c6e0.tar.gz mruby-3aa3b4af90f9b5ccc24cb29550e470fc2733c6e0.zip | |
Remove stdlib.h from mruby.h. It is for portability (care for freestanding environments).
This is a first step. It will be reduced stdlib.h in each files later.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/mirb/mirb.c | 1 | ||||
| -rw-r--r-- | tools/mruby/mruby.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/mirb/mirb.c b/tools/mirb/mirb.c index bd03a6534..06ae16f5b 100644 --- a/tools/mirb/mirb.c +++ b/tools/mirb/mirb.c @@ -6,6 +6,7 @@ ** immediately. It's a REPL... */ +#include <stdlib.h> #include <string.h> #include <mruby.h> diff --git a/tools/mruby/mruby.c b/tools/mruby/mruby.c index c509c0d30..1caf32b6a 100644 --- a/tools/mruby/mruby.c +++ b/tools/mruby/mruby.c @@ -6,6 +6,7 @@ #include "mruby/dump.h" #include "mruby/variable.h" #include <stdio.h> +#include <stdlib.h> #include <string.h> #ifndef ENABLE_STDIO |
