From 61f0852b8222ea576aa236f8b007d8942e46aa4d Mon Sep 17 00:00:00 2001 From: OGINO Masanori Date: Wed, 18 Dec 2013 13:21:26 +0900 Subject: [PATCH] Include string.h and stdlib.h at all time. Even if readline support is disabled, some functions declared in string.h and stdlib.h are used. (e.g. strlen and exit) Signed-off-by: OGINO Masanori --- tools/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/main.c b/tools/main.c index 103a3a82..765f1a8d 100644 --- a/tools/main.c +++ b/tools/main.c @@ -1,12 +1,12 @@ #include +#include +#include #include #include "picrin.h" #include "picrin/pair.h" #if PIC_ENABLE_READLINE -# include -# include # include # include #endif