Use <stddef.h> to get wchar_t, rather than <wchar.h> (or nothing, in putty.h).
[u/mdw/putty] / wcwidth.c
index f76fd86..2d7a093 100644 (file)
--- a/wcwidth.c
+++ b/wcwidth.c
@@ -6,7 +6,7 @@
  * Markus Kuhn -- 2001-01-12 -- public domain
  */
 
-#include <wchar.h>
+#include <stddef.h>
 
 struct interval {
   unsigned short first;