diff options
-rw-r--r-- | compat.h | 7 | ||||
-rw-r--r-- | proc.c | 4 | ||||
-rw-r--r-- | tty-term.c | 7 |
3 files changed, 11 insertions, 7 deletions
@@ -25,15 +25,8 @@ #include <limits.h> #include <stdio.h> #include <termios.h> -#include <term.h> #include <wchar.h> -#if defined(HAVE_CURSES_H) -#include <curses.h> -#elif defined(HAVE_NCURSES_H) -#include <ncurses.h> -#endif - #ifdef HAVE_UTF8PROC #include <utf8proc.h> #endif @@ -27,6 +27,10 @@ #include <string.h> #include <unistd.h> +#if defined(HAVE_NCURSES_H) +#include <ncurses.h> +#endif + #include "tmux.h" struct tmuxproc { @@ -21,6 +21,13 @@ #include <fnmatch.h> #include <stdlib.h> #include <string.h> +#include <term.h> + +#if defined(HAVE_CURSES_H) +#include <curses.h> +#elif defined(HAVE_NCURSES_H) +#include <ncurses.h> +#endif #include "tmux.h" |