diff --git a/RichString.c b/RichString.c index a5cc64f7..efabe67a 100644 --- a/RichString.c +++ b/RichString.c @@ -29,6 +29,10 @@ in the source distribution for its full text. #include #endif +#ifdef HAVE_LIBNCURSESW +#include +#endif + #define RichString_size(this) ((this)->chlen) #define RichString_sizeVal(this) ((this).chlen) diff --git a/RichString.h b/RichString.h index 73e59610..741c84ae 100644 --- a/RichString.h +++ b/RichString.h @@ -27,6 +27,10 @@ in the source distribution for its full text. #include #endif +#ifdef HAVE_LIBNCURSESW +#include +#endif + #define RichString_size(this) ((this)->chlen) #define RichString_sizeVal(this) ((this).chlen)