From: ben Date: Sun, 10 Nov 2002 00:03:55 +0000 (+0000) Subject: Use to get wchar_t, rather than (or nothing, in putty.h). X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/54a2bffbf028c9306e6d4aa74d82fb135de3ee5f?hp=2102eb8a3a40dbf18235c73cf23f018f411db9bc Use to get wchar_t, rather than (or nothing, in putty.h). Both are required to contain wchar_t in C99, but only does in the version of MPW I've got here. git-svn-id: svn://svn.tartarus.org/sgt/putty@2206 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/putty.h b/putty.h index eebd3da3..ad7e3903 100644 --- a/putty.h +++ b/putty.h @@ -2,6 +2,7 @@ #define PUTTY_PUTTY_H #include /* for FILENAME_MAX */ +#include /* for wchar_t */ /* * Global variables. Most modules declare these `extern', but diff --git a/wcwidth.c b/wcwidth.c index f76fd862..2d7a0935 100644 --- a/wcwidth.c +++ b/wcwidth.c @@ -6,7 +6,7 @@ * Markus Kuhn -- 2001-01-12 -- public domain */ -#include +#include struct interval { unsigned short first;