diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-22 17:27:07 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-22 17:27:07 +0100 |
commit | a48cc458a60310480a8ba02da14fbed6f88399f4 (patch) | |
tree | b2b65b020bd1866821d0c35741b1a8a2f27f0d76 | |
parent | 1fdacba1117daee58fe8c011f0fd55d517f66510 (diff) | |
download | rtmux-a48cc458a60310480a8ba02da14fbed6f88399f4.tar.gz rtmux-a48cc458a60310480a8ba02da14fbed6f88399f4.tar.bz2 rtmux-a48cc458a60310480a8ba02da14fbed6f88399f4.zip |
Maybe this is better.
-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" |