diff options
author | Anton Lundin <glance@acc.umu.se> | 2012-12-16 17:30:14 +0100 |
---|---|---|
committer | Anton Lundin <glance@acc.umu.se> | 2012-12-16 17:30:14 +0100 |
commit | 438d0d8b9a9c7292cf8d0d72f5ba75f441bc2d26 (patch) | |
tree | e46d6888fad248568bf9acfdeabf2e37520fef82 /src/terminal | |
parent | 1fe6799092324c24972aaf1ca2b86ed80a80754c (diff) |
Use the right term.h
When ncurses is in a separate include dir, we need to take the term.h
from there to match with the [n]curses.h
Diffstat (limited to 'src/terminal')
-rw-r--r-- | src/terminal/terminaldisplayinit.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/terminal/terminaldisplayinit.cc b/src/terminal/terminaldisplayinit.cc index 63537c1..0f8b5dd 100644 --- a/src/terminal/terminaldisplayinit.cc +++ b/src/terminal/terminaldisplayinit.cc @@ -40,18 +40,22 @@ #if defined HAVE_NCURSESW_CURSES_H # include <ncursesw/curses.h> +# include <ncursesw/term.h> #elif defined HAVE_NCURSESW_H # include <ncursesw.h> +# include <term.h> #elif defined HAVE_NCURSES_CURSES_H # include <ncurses/curses.h> +# include <ncurses/term.h> #elif defined HAVE_NCURSES_H # include <ncurses.h> +# include <term.h> #elif defined HAVE_CURSES_H # include <curses.h> +# include <term.h> #else # error "SysV or X/Open-compatible Curses header file required" #endif -#include <term.h> #include <stdlib.h> #include <string.h> |