summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/ea/network.h4
-rw-r--r--src/net/ipc.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/src/net/ea/network.h b/src/net/ea/network.h
index 61d797a85..508f85429 100644
--- a/src/net/ea/network.h
+++ b/src/net/ea/network.h
@@ -24,7 +24,11 @@
#define NET_EA_NETWORK_H
#include "net/serverinfo.h"
+
+PRAGMACLANG6(GCC diagnostic push)
+PRAGMACLANG6(GCC diagnostic ignored "-Wold-style-cast")
#include "net/sdltcpnet.h"
+PRAGMACLANG6(GCC diagnostic pop)
struct PacketInfo;
diff --git a/src/net/ipc.h b/src/net/ipc.h
index 934085736..667949f2b 100644
--- a/src/net/ipc.h
+++ b/src/net/ipc.h
@@ -21,7 +21,12 @@
#ifndef NET_IPC_H
#define NET_IPC_H
+#include "localconsts.h"
+
+PRAGMACLANG6(GCC diagnostic push)
+PRAGMACLANG6(GCC diagnostic ignored "-Wold-style-cast")
#include "net/sdltcpnet.h"
+PRAGMACLANG6(GCC diagnostic pop)
#include <string>
#include <vector>