diff options
Diffstat (limited to 'src/screen.h')
-rw-r--r-- | src/screen.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/screen.h b/src/screen.h index ef7940a31..404d0a8d5 100644 --- a/src/screen.h +++ b/src/screen.h @@ -5,9 +5,14 @@ #include "mpdclient.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 IS_PLAYING(s) (s==MPD_STATUS_STATE_PLAY) #define IS_PAUSED(s) (s==MPD_STATUS_STATE_PAUSE) #define IS_STOPPED(s) (!(IS_PLAYING(s) | IS_PAUSED(s))) |