diff options
author | Dan Sagunov <danilka.pro@gmail.com> | 2013-10-30 23:00:40 +0400 |
---|---|---|
committer | Dan Sagunov <danilka.pro@gmail.com> | 2013-10-30 23:00:40 +0400 |
commit | bb5d5bfd20c09952cfb3b9881b90177b0c34aac7 (patch) | |
tree | c4aedf31fb76782f3438869ef2dbe4aecb1b9fd1 /src/net | |
parent | 7f2484d82112851dbeba83afd18790a58b03599d (diff) | |
download | mv-bb5d5bfd20c09952cfb3b9881b90177b0c34aac7.tar.gz mv-bb5d5bfd20c09952cfb3b9881b90177b0c34aac7.tar.bz2 mv-bb5d5bfd20c09952cfb3b9881b90177b0c34aac7.tar.xz mv-bb5d5bfd20c09952cfb3b9881b90177b0c34aac7.zip |
Fix nacl building
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/network.h | 4 | ||||
-rw-r--r-- | src/net/nacltcpnet.cpp | 2 |
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" |