From 6666bbf908b3f2a61a9ec1959e975de54dc23b0d Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 20 Aug 2009 18:47:46 +0200 Subject: madc: Added support for BSD editline --- src/madc.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/madc.cpp') diff --git a/src/madc.cpp b/src/madc.cpp index 0500c0f..c55fd3e 100644 --- a/src/madc.cpp +++ b/src/madc.cpp @@ -17,6 +17,8 @@ * with this program. If not, see . */ +#include "config.h" + #include "Core/ConfigManager.h" #include "Common/ClientConnection.h" @@ -31,8 +33,12 @@ #include -#include -#include +#ifdef EDITLINE_FOUND +# include +#else +# include +# include +#endif using namespace Mad; -- cgit v1.2.3