aboutsummaryrefslogtreecommitdiff
path: root/src/ptunnel.h
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2018-12-03 10:11:35 +0100
committerToni Uhlig <matzeton@googlemail.com>2018-12-03 10:11:35 +0100
commit476d6b28848f952c09a094e2227f20d69d4f1482 (patch)
treef1337e320359e40998d390fed2f0e938d17aae96 /src/ptunnel.h
parentb0e7eea08b6289075e3518e78fe451cb78c19c5e (diff)
parentabea0f617f6339f3eeedcc849ef690289d5bad80 (diff)
Merge branch 'master' into release
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..7566f92 100644
--- a/src/ptunnel.h
+++ b/src/ptunnel.h
@@ -45,7 +45,9 @@
#define PING_TUNNEL_H 1
#ifndef WIN32
+#ifdef HAVE_SYS_UNISTD_H
#include <sys/unistd.h>
+#endif
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>