Use <stddef.h> to get wchar_t, rather than <wchar.h> (or nothing, in putty.h).
[u/mdw/putty] / putty.h
diff --git a/putty.h b/putty.h
index eebd3da..ad7e390 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -2,6 +2,7 @@
 #define PUTTY_PUTTY_H
 
 #include <stdio.h>                    /* for FILENAME_MAX */
+#include <stddef.h>                   /* for wchar_t */
 
 /*
  * Global variables. Most modules declare these `extern', but