summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilek7 <Milek7@users.noreply.github.com>2021-04-28 00:22:03 +0200
committerGitHub <noreply@github.com>2021-04-27 23:22:03 +0100
commita341852cd56d6a3f83dfdb293426b1c38786da0b (patch)
tree4e33858aca2812d9184bdfe8eab13a848fa740c0
parent31f1db2d3ab1614f00a08a7f44b518a04aeadd3e (diff)
downloadopenttd-a341852cd56d6a3f83dfdb293426b1c38786da0b.tar.xz
Fix: missing <limits> include in network/core/packet.h (#9123)
-rw-r--r--src/network/core/packet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/core/packet.h b/src/network/core/packet.h
index d55dad316..bc7bab6c4 100644
--- a/src/network/core/packet.h
+++ b/src/network/core/packet.h
@@ -17,6 +17,7 @@
#include "core.h"
#include "../../string_type.h"
#include <functional>
+#include <limits>
typedef uint16 PacketSize; ///< Size of the whole packet.
typedef uint8 PacketType; ///< Identifier for the packet