summaryrefslogtreecommitdiff
path: root/cmd-line-utils/libedit
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-02-10 20:19:03 +0200
committerGeorgi Kodinov <joro@sun.com>2009-02-10 20:19:03 +0200
commit4568152518d075ec543bcc55b77241e4a5bf7c17 (patch)
treec8290a129e24c8636cf538b9fc830a252ef226c9 /cmd-line-utils/libedit
parentfab053ccf84ccb537999615da8f962d03ef5da76 (diff)
downloadmariadb-git-4568152518d075ec543bcc55b77241e4a5bf7c17.tar.gz
fixed a libedit compilation problem
Diffstat (limited to 'cmd-line-utils/libedit')
-rw-r--r--cmd-line-utils/libedit/Makefile.am2
-rw-r--r--cmd-line-utils/libedit/term.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/cmd-line-utils/libedit/Makefile.am b/cmd-line-utils/libedit/Makefile.am
index 5a01a746963..ddafa4aab44 100644
--- a/cmd-line-utils/libedit/Makefile.am
+++ b/cmd-line-utils/libedit/Makefile.am
@@ -21,7 +21,7 @@ pkginclude_HEADERS = readline/readline.h
noinst_HEADERS = chared.h el.h el_term.h histedit.h key.h parse.h refresh.h sig.h \
sys.h config.h hist.h map.h prompt.h read.h \
- search.h tty.h filecomplete.h
+ search.h tty.h filecomplete.h np/vis.h
EXTRA_DIST = makelist.sh
diff --git a/cmd-line-utils/libedit/term.c b/cmd-line-utils/libedit/term.c
index 7a9d0250114..488c760da14 100644
--- a/cmd-line-utils/libedit/term.c
+++ b/cmd-line-utils/libedit/term.c
@@ -50,9 +50,11 @@ static char sccsid[] = "@(#)term.c 8.2 (Berkeley) 4/30/95";
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
+#if 0 /* TODO: do we need this */
#ifdef HAVE_TERMCAP_H
#include <termcap.h>
#endif
+#endif
#ifdef HAVE_CURSES_H
#include <curses.h>
#endif