From 54a2bffbf028c9306e6d4aa74d82fb135de3ee5f Mon Sep 17 00:00:00 2001 From: ben Date: Sun, 10 Nov 2002 00:03:55 +0000 Subject: [PATCH] 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 --- putty.h | 1 + wcwidth.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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; -- 2.11.0