1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 11:32:48 -05:00

Add some missing #includes.

My experimental build with clang-cl at -Wall did show up a few things
that are safe enough to fix right now. One was this list of missing
includes, which was causing a lot of -Wmissing-prototype warnings, and
is a real risk because it means the declarations in headers weren't
being type-checked against the actual function definitions.

Happily, no actual mismatches.
This commit is contained in:
Simon Tatham
2022-09-03 11:43:46 +01:00
parent 10d3645a93
commit 1b851758bd
12 changed files with 13 additions and 0 deletions

View File

@ -4,6 +4,7 @@
*/
#include "putty.h"
#include "ssh.h"
#if !(defined _M_ARM || defined _M_ARM64)
/*

View File

@ -11,6 +11,7 @@
*/
#include "putty.h"
#include "puttymem.h"
#define PAGESIZE 4096

View File

@ -4,6 +4,7 @@
*/
#include "putty.h"
#include "ssh.h"
char *platform_get_x_display(void)
{