summaryrefslogtreecommitdiff
path: root/src/net/sdltcpnet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/sdltcpnet.h')
-rw-r--r--src/net/sdltcpnet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/sdltcpnet.h b/src/net/sdltcpnet.h
index 4730858e7..65433d0d4 100644
--- a/src/net/sdltcpnet.h
+++ b/src/net/sdltcpnet.h
@@ -23,7 +23,10 @@
#include "localconsts.h"
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wshadow")
#include <SDL_net.h>
+#pragma GCC diagnostic pop
namespace TcpNet
{