summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/sdltcpnet.h4
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;