summaryrefslogtreecommitdiff
path: root/src/net/sdltcpnet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/sdltcpnet.h')
-rw-r--r--src/net/sdltcpnet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/sdltcpnet.h b/src/net/sdltcpnet.h
index a61c218b8..04c80e71a 100644
--- a/src/net/sdltcpnet.h
+++ b/src/net/sdltcpnet.h
@@ -21,6 +21,8 @@
#ifndef NET_SDLTCPNET_H
#define NET_SDLTCPNET_H
+#if !defined __native_client__
+
#include <SDL_net.h>
#include "localconsts.h"
@@ -58,4 +60,5 @@ namespace TcpNet
void freeSocketSet(const TcpNet::SocketSet set);
} // namespace TcpNet
+#endif // __native_client__
#endif // NET_SDLTCPNET_H