From ce5d0b2d7800298a847cfec048d902165c4ba6c4 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 15 Sep 2004 21:50:32 +0500 Subject: 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 --- cmd-line-utils/libedit/term.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmd-line-utils') 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 +#endif #include #include -- cgit v1.2.1