text-utils: use proper paths to term.h

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2017-05-30 17:15:37 +02:00
parent 18451b2cf4
commit 2ac1bc84d7
4 changed files with 33 additions and 13 deletions

View file

@ -59,13 +59,23 @@
#include <signal.h>
#include <setjmp.h>
#ifdef HAVE_NCURSES_H
#ifdef HAVE_NCURSESW_H
# include <ncursesw.h>
#elif defined(HAVE_NCURSES_H)
# include <ncurses.h>
#elif defined(HAVE_NCURSESW_NCURSES_H)
# include <ncursesw/ncurses.h>
#elif defined(HAVE_NCURSES_NCURSES_H)
# include <ncurses/ncurses.h>
#endif
#include <term.h>
#ifdef HAVE_TERM_H
# include <term.h>
#elif defined(HAVE_NCURSES_TERM_H)
# include <ncurses/term.h>
#elif defined(HAVE_NCURSESW_TERM_H)
# include <ncursesw/term.h>
#endif
#include "nls.h"
#include "xalloc.h"