1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-08 08:58:00 +00:00

Add some missing #includes.

These are all intended to ensure that the declarations of things in
header files are in scope where the same thing is subsequently
defined, to make it harder to define it in a way that doesn't match.
(For example, the new #include in winnet.c would have caught the
just-fixed mis-definition of platform_get_x11_unix_address.)
This commit is contained in:
Simon Tatham 2020-01-29 06:19:30 +00:00
parent 1278f51f1d
commit 787181bb12
4 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,7 @@
#define PUTTY_DO_GLOBALS /* actually _define_ globals */
#include "putty.h"
#include "ssh.h"
#include "storage.h"
#include "tree234.h"

View File

@ -13,6 +13,7 @@
#define MAY_REFER_TO_GTK_IN_HEADERS
#include "putty.h"
#include "ssh.h"
#include "storage.h"
#include "gtkcompat.h"

View File

@ -8,6 +8,9 @@
* to do here is to drop it into variables of the right names.
*/
#include "putty.h"
#include "ssh.h"
#ifdef SOURCE_COMMIT
#include "empty.h"
#endif

View File

@ -16,6 +16,7 @@
#include "putty.h"
#include "network.h"
#include "tree234.h"
#include "ssh.h"
#include <ws2tcpip.h>