aboutsummaryrefslogtreecommitdiff
path: root/src/channels1.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-07-22 10:41:58 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-07-23 10:44:51 +0200
commitdf81a05505514b384d10c9b192137584040e4984 (patch)
tree79c078d9f70668ccb42836489dee3febb2abd7d0 /src/channels1.c
parent7d07e1f1bd06b509b8ee4bae4b22338c5e16735a (diff)
downloadlibssh-df81a05505514b384d10c9b192137584040e4984.tar.gz
libssh-df81a05505514b384d10c9b192137584040e4984.tar.xz
libssh-df81a05505514b384d10c9b192137584040e4984.zip
cmake: Check for unistd.h.
Diffstat (limited to 'src/channels1.c')
-rw-r--r--src/channels1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/channels1.c b/src/channels1.c
index 30030db0..bc66488d 100644
--- a/src/channels1.c
+++ b/src/channels1.c
@@ -27,6 +27,8 @@
#include <stdio.h>
#ifndef _WIN32
#include <arpa/inet.h>
+#endif
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif