diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-07 18:15:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-07 18:15:34 +0300 |
commit | f86a584d8f19a06d06acaef3ad1f9d3eef4690ad (patch) | |
tree | 0c8574417ea7b77bb464e93e3395b95178e3d94f /src/net/sdltcpnet.h | |
parent | f29d4876505fd3fd8c5d2c115e2a790409b02289 (diff) | |
download | manaplus-f86a584d8f19a06d06acaef3ad1f9d3eef4690ad.tar.gz manaplus-f86a584d8f19a06d06acaef3ad1f9d3eef4690ad.tar.bz2 manaplus-f86a584d8f19a06d06acaef3ad1f9d3eef4690ad.tar.xz manaplus-f86a584d8f19a06d06acaef3ad1f9d3eef4690ad.zip |
Fix compilation with SDL2.
Diffstat (limited to 'src/net/sdltcpnet.h')
-rw-r--r-- | src/net/sdltcpnet.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <SDL_net.h> -#include "localconsts.h" - namespace TcpNet { typedef ::SDLNet_SocketSet SocketSet; |