diff options
author | Max Kellermann <max@duempel.org> | 2008-10-06 16:03:24 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-06 16:03:24 +0200 |
commit | 8736e490253e08ed36ddeed8d572a39a450a88b4 (patch) | |
tree | 590c6e09dddde2fe4f15104fcdf98a70b5be5550 /src/list_window.h | |
parent | 003f90586c1eab5f17cdc85bf0fc43e5f2a170ec (diff) | |
download | mpd-8736e490253e08ed36ddeed8d572a39a450a88b4.tar.gz mpd-8736e490253e08ed36ddeed8d572a39a450a88b4.tar.xz mpd-8736e490253e08ed36ddeed8d572a39a450a88b4.zip |
include ncursesw/ncurses.h if available
When compiling with libncursesw, include <ncursesw/ncurses.h> instead
of <ncurses.h> (if available).
Diffstat (limited to '')
-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, |