diff --git a/RichString.h b/RichString.h index 754ff9b28db3050abe28ef97e8c32da6cf78c9d8..a95726f76bdea93b4cfed6fc9af5fe709fca0f94 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