From: Andre Noll Date: Sat, 7 Feb 2015 14:14:43 +0000 (+0100) Subject: interactive.c does not depend on curses.h. X-Git-Tag: v0.5.5~61 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=720908589d8c03c96c33f3033c0817c599a7c8b0 interactive.c does not depend on curses.h. On systems where libreadline is installed but curses headers are not, the build fails because interactive.c, which includes curses.h, is attempted to be compiled. Fortunately, it is unnecessary to include this header, so this commit removes the include directive. However, we must include para.h before the readline headers because the latter depend on stdio.h. --- diff --git a/interactive.c b/interactive.c index e4bd6ba2..484f9550 100644 --- a/interactive.c +++ b/interactive.c @@ -6,14 +6,14 @@ /** \file interactive.c Readline abstraction for interactive sessions. */ +#include "para.h" + #include -#include #include #include #include #include -#include "para.h" #include "fd.h" #include "buffer_tree.h" #include "list.h"