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

Add a missing include to putty.h.

We define a macro in terms of INT_MAX, so we ought to include
<limits.h> to ensure INT_MAX is defined, rather than depending on
every call site to have remembered to do that themselves.
This commit is contained in:
Simon Tatham 2018-09-24 14:01:06 +01:00
parent f6f8219a3d
commit 43767fff04

View File

@ -2,6 +2,7 @@
#define PUTTY_PUTTY_H
#include <stddef.h> /* for wchar_t */
#include <limits.h> /* for INT_MAX */
/*
* Global variables. Most modules declare these `extern', but