mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
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
This commit is contained in:
parent
ad6ad34b45
commit
a8cc9250a9
1 changed files with 3 additions and 0 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue