aboutsummaryrefslogtreecommitdiff
path: root/src/ptunnel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ptunnel.h')
-rw-r--r--src/ptunnel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ptunnel.h b/src/ptunnel.h
index 8f77458..7566f92 100644
--- a/src/ptunnel.h
+++ b/src/ptunnel.h
@@ -45,7 +45,7 @@
#define PING_TUNNEL_H 1
#ifndef WIN32
-#ifndef __ANDROID__
+#ifdef HAVE_SYS_UNISTD_H
#include <sys/unistd.h>
#endif
#include <sys/types.h>