diff --git a/RichString.h b/RichString.h index 754ff9b2..a95726f7 100644 --- a/RichString.h +++ b/RichString.h @@ -15,14 +15,14 @@ #include "debug.h" #include -#ifdef HAVE_CURSES_H -#include -#elif HAVE_NCURSES_H -#include -#elif HAVE_NCURSESW_CURSES_H +#ifdef HAVE_NCURSESW_CURSES_H #include #elif HAVE_NCURSES_NCURSES_H #include +#elif HAVE_NCURSES_H +#include +#elif HAVE_CURSES_H +#include #endif #define RICHSTRING_MAXLEN 300