summaryrefslogtreecommitdiffhomepage
path: root/src/error.c
diff options
context:
space:
mode:
authorMasaki Muranaka <[email protected]>2013-03-16 21:26:06 +0900
committerMasaki Muranaka <[email protected]>2013-03-16 21:29:39 +0900
commit3aa3b4af90f9b5ccc24cb29550e470fc2733c6e0 (patch)
treef436d7877509049c2edb1daea4b57af6f3a793d8 /src/error.c
parent6ba298ed54e647579d8b802784c314ecc32acb2c (diff)
downloadmruby-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 'src/error.c')
-rw-r--r--src/error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/error.c b/src/error.c
index 488ab6cef..ddf92382b 100644
--- a/src/error.c
+++ b/src/error.c
@@ -7,6 +7,7 @@
#include "mruby.h"
#include <errno.h>
#include <stdarg.h>
+#include <stdlib.h>
#include <setjmp.h>
#include <string.h>
#include "error.h"