summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"