diff options
Diffstat (limited to 'src/list_window.h')
-rw-r--r-- | src/list_window.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/list_window.h b/src/list_window.h index 1d93a363e..11c4cddab 100644 --- a/src/list_window.h +++ b/src/list_window.h @@ -4,9 +4,14 @@ #include "../config.h" #include "command.h" -#include <ncurses.h> #include <glib.h> +#ifdef HAVE_NCURSESW_NCURSES_H +#include <ncursesw/ncurses.h> +#else +#include <ncurses.h> +#endif + #define LW_HIDE_CURSOR 0x01 typedef const char *(*list_window_callback_fn_t)(unsigned index, |