include picrin's headers before editlines' so as they can refer <stdio>
This commit is contained in:
@@ -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 <readline/readline.h>
|
||||
#include <readline/history.h>
|
||||
@@ -12,11 +17,6 @@ forget to use the C++ extern "C" to get it to compile.
|
||||
#include <editline/readline.h>
|
||||
#include <editline/history.h>
|
||||
#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)
|
||||
|
||||
Reference in New Issue
Block a user