aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-01-11 11:07:17 +0100
committerAndreas Schneider <asn@cryptomilk.org>2011-01-11 11:07:17 +0100
commitbb5f5281c007043231c4d95ce1309f1a6d999d33 (patch)
tree4efaccd480e8764eed9fb3f9bab569442f10b659
parent9140242cbe86769a438421b4e64dffaf4034326e (diff)
downloadlibssh-bb5f5281c007043231c4d95ce1309f1a6d999d33.tar.gz
libssh-bb5f5281c007043231c4d95ce1309f1a6d999d33.tar.xz
libssh-bb5f5281c007043231c4d95ce1309f1a6d999d33.zip
build: Fixed build on Windows.
-rw-r--r--src/channels1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/channels1.c b/src/channels1.c
index 4cf7e778..d18aa96c 100644
--- a/src/channels1.c
+++ b/src/channels1.c
@@ -24,11 +24,12 @@
#include <string.h>
#include <stdlib.h>
-#include <unistd.h>
#include <stdio.h>
#ifndef _WIN32
#include <arpa/inet.h>
+#include <unistd.h>
#endif
+
#include "libssh/priv.h"
#include "libssh/ssh1.h"
#include "libssh/buffer.h"