diff --git a/src/openrct2/network/network.h b/src/openrct2/network/network.h index 0e5e45fccc..56aada6ba4 100644 --- a/src/openrct2/network/network.h +++ b/src/openrct2/network/network.h @@ -51,14 +51,6 @@ extern "C" { #ifndef DISABLE_NETWORK -#ifdef __cplusplus -extern "C" { -#endif // __cplusplus -#include -#ifdef __cplusplus -} -#endif // __cplusplus - // This define specifies which version of network stream current build uses. // It is used for making sure only compatible builds get connected, even within // single OpenRCT2 version. @@ -74,6 +66,7 @@ extern "C" { #include #include #include +#include #include #include "../core/Json.hpp" #include "../core/Nullable.hpp" @@ -86,6 +79,7 @@ extern "C" { #include "NetworkUser.h" #include "TcpSocket.h" + enum { NETWORK_TICK_FLAG_CHECKSUMS = 1 << 0, };