aboutsummaryrefslogtreecommitdiff
path: root/src/ptunnel.h
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2018-11-26 01:32:29 +0100
committerToni Uhlig <matzeton@googlemail.com>2018-11-26 01:42:46 +0100
commitc1cecbab40ef2d70446308aabdef10d9c8e21be1 (patch)
tree1ead52038beb65138d8003ecb1b0f1fd91a808a6 /src/ptunnel.h
parent6bb27b9ae8a52134547c9f15bf0b9b81a77d318b (diff)
support for android eabi builds
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/ptunnel.h')
-rw-r--r--src/ptunnel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ptunnel.h b/src/ptunnel.h
index 966f5ba..8f77458 100644
--- a/src/ptunnel.h
+++ b/src/ptunnel.h
@@ -45,7 +45,9 @@
#define PING_TUNNEL_H 1
#ifndef WIN32
+#ifndef __ANDROID__
#include <sys/unistd.h>
+#endif
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>