1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Use <stddef.h> to get wchar_t, rather than <wchar.h> (or nothing, in putty.h).

Both are required to contain wchar_t in C99, but only <stddef.h> does in the
version of MPW I've got here.

[originally from svn r2206]
This commit is contained in:
Ben Harris 2002-11-10 00:03:55 +00:00
parent a12a78bcb9
commit f81cd2a3c6
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -6,7 +6,7 @@
* Markus Kuhn -- 2001-01-12 -- public domain
*/
#include <wchar.h>
#include <stddef.h>
struct interval {
unsigned short first;