Commit 497a113d authored by Botond Baranyi's avatar Botond Baranyi
Browse files

Changed the include statement of 'readline.h', so it can be found on multiple...


Changed the include statement of 'readline.h', so it can be found on multiple platforms (Bug 565893)
Signed-off-by: Botond Baranyi's avatarBotond Baranyi <botond.baranyi@ericsson.com>
Change-Id: Iaa1f9153cfdceb40c74e01ec30a756a63d0caa52
parent 498f90fc
......@@ -18,7 +18,7 @@
#include <ctype.h>
#ifdef ADVANCED_DEBUGGER_UI
#include <editline/readline.h>
#include <readline.h>
// use a different file, than the MCTR CLI, since not all commands are the same
#define TTCN3_HISTORY_FILENAME ".ttcn3_history_single"
#endif
......
......@@ -87,7 +87,7 @@ ifeq ($(ADVANCED_DEBUGGER_UI), yes)
SOLARIS8_LIBS += -lcurses -lbsd -ledit
LINUX_LIBS += -lncurses -lbsd -ledit
FREEBSD_LIBS += -lncurses -lbsd -ledit
WIN32_LIBS += -lncurses -lbsd -ledit
WIN32_LIBS += -lncurses -ledit
INTERIX_LIBS += -lncurses -lbsd -ledit
endif
......@@ -151,6 +151,10 @@ ifeq ($(PLATFORM),INTERIX)
CPPFLAGS += -I/usr/local/include
endif
ifeq ($(ADVANCED_DEBUGGER_UI), yes)
CPPFLAGS += -I/usr/include/editline -I/usr/include/readline
endif
OBJECTS := $(patsubst %.cc,%.o,$(patsubst %.c,%.o,$(SOURCES)))
......
......@@ -31,7 +31,7 @@
#include "../mctr/MainController.h"
#include <stdio.h>
#include <editline/readline.h>
#include <readline.h>
#include <ctype.h>
#include <string.h>
#include <errno.h>
......
......@@ -40,7 +40,7 @@ OBJECTS := $(patsubst %.cc,%.o,$(patsubst %.c,%.o,$(SOURCES)))
DEPFILES := $(patsubst %.cc,%.d,$(patsubst %.c,%.d,$(SOURCES)))
CPPFLAGS += -D_REENTRANT
CPPFLAGS += -D_REENTRANT -I/usr/include/editline -I/usr/include/readline
ifdef OPENSSL_DIR
ifneq ($(OPENSSL_DIR), default)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment