include wctype.h for iswprint()

This commit is contained in:
Christian Hesse 2015-08-25 15:23:50 +02:00
parent 8f07868fef
commit f10cbaa812
2 changed files with 8 additions and 0 deletions

View File

@ -29,6 +29,10 @@ in the source distribution for its full text.
#include <curses.h> #include <curses.h>
#endif #endif
#ifdef HAVE_LIBNCURSESW
#include <wctype.h>
#endif
#define RichString_size(this) ((this)->chlen) #define RichString_size(this) ((this)->chlen)
#define RichString_sizeVal(this) ((this).chlen) #define RichString_sizeVal(this) ((this).chlen)

View File

@ -27,6 +27,10 @@ in the source distribution for its full text.
#include <curses.h> #include <curses.h>
#endif #endif
#ifdef HAVE_LIBNCURSESW
#include <wctype.h>
#endif
#define RichString_size(this) ((this)->chlen) #define RichString_size(this) ((this)->chlen)
#define RichString_sizeVal(this) ((this).chlen) #define RichString_sizeVal(this) ((this).chlen)