summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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"