--- RichString.h.orig +++ RichString.h @@ -16,7 +16,11 @@ #include "debug.h" #include #ifdef HAVE_LIBNCURSESW +# ifdef HAVE_NCURSESW_CURSES_H #include +# else +#include +# endif #else #include #endif