From 5097c522e82045278e9b7056a84f43a4784bb59b Mon Sep 17 00:00:00 2001 From: "Sunrim KIM (keen)" <3han5chou7@gmail.com> Date: Mon, 11 Aug 2014 23:10:27 +0900 Subject: [PATCH] include picrin's headers before editlines' so as they can refer --- contrib/10.readline/src/readline.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/contrib/10.readline/src/readline.c b/contrib/10.readline/src/readline.c index 237a3a84..ac0f6160 100644 --- a/contrib/10.readline/src/readline.c +++ b/contrib/10.readline/src/readline.c @@ -5,6 +5,11 @@ /* This will include all our libedit functions. If you use C++ don't forget to use the C++ extern "C" to get it to compile. */ +#include "picrin.h" +#include "picrin/pair.h" +#include "picrin/string.h" +#include "picrin/port.h" + #if PIC_READLINE_INCLUDE_DIR_SUFFIX == readline #include #include @@ -12,11 +17,6 @@ forget to use the C++ extern "C" to get it to compile. #include #include #endif -#include "picrin.h" -#include "picrin/pair.h" -#include "picrin/string.h" -#include "picrin/port.h" - static pic_value pic_rl_readline(pic_state *pic)