summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorDan Sagunov <danilka.pro@gmail.com>2013-10-30 23:00:40 +0400
committerDan Sagunov <danilka.pro@gmail.com>2013-10-30 23:00:40 +0400
commitbb5d5bfd20c09952cfb3b9881b90177b0c34aac7 (patch)
treec4aedf31fb76782f3438869ef2dbe4aecb1b9fd1 /src/net
parent7f2484d82112851dbeba83afd18790a58b03599d (diff)
downloadplus-bb5d5bfd20c09952cfb3b9881b90177b0c34aac7.tar.gz
plus-bb5d5bfd20c09952cfb3b9881b90177b0c34aac7.tar.bz2
plus-bb5d5bfd20c09952cfb3b9881b90177b0c34aac7.tar.xz
plus-bb5d5bfd20c09952cfb3b9881b90177b0c34aac7.zip
Fix nacl building
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/network.h4
-rw-r--r--src/net/nacltcpnet.cpp2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/net/ea/network.h b/src/net/ea/network.h
index 9298f021f..1473a1413 100644
--- a/src/net/ea/network.h
+++ b/src/net/ea/network.h
@@ -25,7 +25,11 @@
#include "net/serverinfo.h"
+#if defined __native_client__
+#include "net/nacltcpnet.h"
+#else
#include "net/sdltcpnet.h"
+#endif
#include <SDL_thread.h>
diff --git a/src/net/nacltcpnet.cpp b/src/net/nacltcpnet.cpp
index ccdb5a3f6..f2db71b56 100644
--- a/src/net/nacltcpnet.cpp
+++ b/src/net/nacltcpnet.cpp
@@ -20,7 +20,7 @@
#if defined __native_client__
-#include "net/sdltcpnet.h"
+#include "net/nacltcpnet.h"
#if defined __linux__ || defined __linux
#include "logger.h"