diff options
author | Nito Martinez <Nito@Qindel.ES> | 2015-02-10 19:47:58 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-02-10 19:47:58 +0100 |
commit | 79f218b563f6a4d3b17e92ee85ad242575daf8da (patch) | |
tree | 1f5290e0ba44b23228730d9261505e92a440cf5b /nxcomp/Proxy.cpp | |
parent | 46c2aebca5196ad4c10bb4f6f2558d656c22f5d9 (diff) | |
download | nx-libs-79f218b563f6a4d3b17e92ee85ad242575daf8da.tar.gz nx-libs-79f218b563f6a4d3b17e92ee85ad242575daf8da.tar.bz2 nx-libs-79f218b563f6a4d3b17e92ee85ad242575daf8da.zip |
Fix FTBFS of nxproxy/nxcomp on Android (212_nxcomp_build-on-Android.full+lite.patch).
Diffstat (limited to 'nxcomp/Proxy.cpp')
-rw-r--r-- | nxcomp/Proxy.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nxcomp/Proxy.cpp b/nxcomp/Proxy.cpp index d6c67e0e8..9b38661b4 100644 --- a/nxcomp/Proxy.cpp +++ b/nxcomp/Proxy.cpp @@ -20,6 +20,11 @@ #include <cstdlib> #include <sys/types.h> #include <sys/stat.h> +#ifdef ANDROID +#include <netinet/in.h> +#include <netinet/ip.h> +#include <netinet/tcp.h> +#endif #include "Misc.h" @@ -31,9 +36,11 @@ #include <sys/un.h> #endif +#ifndef ANDROID #include <netinet/in.h> #include <netinet/ip.h> #include <netinet/tcp.h> +#endif #if defined(__EMX__ ) || defined(__CYGWIN32__) |