summaryrefslogtreecommitdiff
path: root/src/net/sdltcpnet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/sdltcpnet.cpp')
-rw-r--r--src/net/sdltcpnet.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/net/sdltcpnet.cpp b/src/net/sdltcpnet.cpp
index 48f68a8b2..3d6ee5d7d 100644
--- a/src/net/sdltcpnet.cpp
+++ b/src/net/sdltcpnet.cpp
@@ -18,10 +18,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "net/sdltcpnet.h"
+#include "logger.h"
#if defined __linux__ || defined __linux
-#include "logger.h"
#include <sys/socket.h>
@@ -42,6 +41,11 @@
#endif
+PRAGMACLANG6(GCC diagnostic push)
+PRAGMACLANG6(GCC diagnostic ignored "-Wold-style-cast")
+#include "net/sdltcpnet.h"
+PRAGMACLANG6(GCC diagnostic pop)
+
#include "debug.h"
#if !defined(__native_client__) \