summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2010-03-25 16:47:45 +0100
committerAndreas Schneider <mail@cynapses.org>2010-03-25 16:47:45 +0100
commit964d8fdc112533c12e98cb456d07aadecb3b7002 (patch)
tree97cab467d590b7c924a4ed0cc5c2f7c602294ccd
parent5d339aa9e29e290661f683bac19de1b212607919 (diff)
Fixed build warnings on Windows.
-rw-r--r--libssh/channels1.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libssh/channels1.c b/libssh/channels1.c
index daa851c6..37532798 100644
--- a/libssh/channels1.c
+++ b/libssh/channels1.c
@@ -26,6 +26,9 @@
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
+#ifndef _WIN32
+#include <arpa/inet.h>
+#endif
#include "libssh/priv.h"
#include "libssh/ssh1.h"
#include "libssh/buffer.h"