From f86a584d8f19a06d06acaef3ad1f9d3eef4690ad Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 7 Feb 2017 18:15:34 +0300 Subject: Fix compilation with SDL2. --- src/net/sdltcpnet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/sdltcpnet.h') diff --git a/src/net/sdltcpnet.h b/src/net/sdltcpnet.h index 9469b7768..dda5f0aec 100644 --- a/src/net/sdltcpnet.h +++ b/src/net/sdltcpnet.h @@ -21,6 +21,8 @@ #ifndef NET_SDLTCPNET_H #define NET_SDLTCPNET_H +#include "localconsts.h" + #ifdef USE_SDL2 PRAGMA45(GCC diagnostic push) PRAGMA45(GCC diagnostic ignored "-Wswitch-default") @@ -35,8 +37,6 @@ PRAGMA45(GCC diagnostic pop) #include -#include "localconsts.h" - namespace TcpNet { typedef ::SDLNet_SocketSet SocketSet; -- cgit v1.2.3-70-g09d2