summaryrefslogtreecommitdiff
path: root/cmd-line-utils
diff options
context:
space:
mode:
authorunknown <vva@eagle.mysql.r18.ru>2004-09-15 21:50:32 +0500
committerunknown <vva@eagle.mysql.r18.ru>2004-09-15 21:50:32 +0500
commitce5d0b2d7800298a847cfec048d902165c4ba6c4 (patch)
treefad0ad7c400d1ffd6f8fbbee5ddd2fd7a52772cf /cmd-line-utils
parent1230daf8f281bbb1ca07364b9a8c18ea4aa02a4d (diff)
downloadmariadb-git-ce5d0b2d7800298a847cfec048d902165c4ba6c4.tar.gz
fixed Bug #5589 "libedit compile failure in term.c"
(for octane2) included term.h if there isn't termcap.h in cmd-line-utils/libedit/term.c cmd-line-utils/libedit/term.c: fixed Bug #5589 "libedit compile failure in term.c" (for octane2) included term.h if there isn't termcap.h
Diffstat (limited to 'cmd-line-utils')
-rw-r--r--cmd-line-utils/libedit/term.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd-line-utils/libedit/term.c b/cmd-line-utils/libedit/term.c
index 1f90c783a2b..c4ee0d30aab 100644
--- a/cmd-line-utils/libedit/term.c
+++ b/cmd-line-utils/libedit/term.c
@@ -67,6 +67,9 @@ __RCSID("$NetBSD: term.c,v 1.35 2002/03/18 16:00:59 christos Exp $");
#include "el.h"
+#if !defined(HAVE_TERMCAP_H) && defined(HAVE_TERM_H)
+#include <term.h>
+#endif
#include <sys/types.h>
#include <sys/ioctl.h>