Skip to content
Snippets Groups Projects
Commit 7c6b9d2d authored by Botond Baranyi's avatar Botond Baranyi
Browse files

Added support for more libedit versions (Bug 565893)


Signed-off-by: default avatarBotond Baranyi <botond.baranyi@ericsson.com>
Change-Id: I227f30de26239d5266a938fd431db59ced6cc1fb
parent 51609224
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include "../mctr/MainController.h" #include "../mctr/MainController.h"
#include <stdio.h> #include <stdio.h>
#include <readline.h>
#include <ctype.h> #include <ctype.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
...@@ -43,6 +42,11 @@ ...@@ -43,6 +42,11 @@
#include "../../common/config_preproc.h" #include "../../common/config_preproc.h"
#include "../../core/DebugCommands.hh" #include "../../core/DebugCommands.hh"
#include <readline.h>
#if RL_READLINE_VERSION == 0x0603
#include <history.h>
#endif
#define PROMPT "MC2> " #define PROMPT "MC2> "
#define CMTC_TEXT "cmtc" #define CMTC_TEXT "cmtc"
#define SMTC_TEXT "smtc" #define SMTC_TEXT "smtc"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment