mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +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:
parent
f6f8219a3d
commit
43767fff04
1
putty.h
1
putty.h
@ -2,6 +2,7 @@
|
|||||||
#define PUTTY_PUTTY_H
|
#define PUTTY_PUTTY_H
|
||||||
|
|
||||||
#include <stddef.h> /* for wchar_t */
|
#include <stddef.h> /* for wchar_t */
|
||||||
|
#include <limits.h> /* for INT_MAX */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Global variables. Most modules declare these `extern', but
|
* Global variables. Most modules declare these `extern', but
|
||||||
|
Loading…
Reference in New Issue
Block a user