aboutsummaryrefslogtreecommitdiff
path: root/src/sftp.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-07-17 18:16:07 +0200
committerAndreas Schneider <asn@cryptomilk.org>2012-07-17 18:16:07 +0200
commit782b2e37c6a4e0254e2b596b9182043c5ebabd75 (patch)
treefc058480f09e2e08658dbdaad6b9ca8b415f7bcd /src/sftp.c
parenta92c97b2e17715c1b3cdd693d14af6c3311d8e44 (diff)
downloadlibssh-782b2e37c6a4e0254e2b596b9182043c5ebabd75.tar.gz
libssh-782b2e37c6a4e0254e2b596b9182043c5ebabd75.tar.xz
libssh-782b2e37c6a4e0254e2b596b9182043c5ebabd75.zip
build: Fix missing struct in_addr warning.
Diffstat (limited to 'src/sftp.c')
-rw-r--r--src/sftp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sftp.c b/src/sftp.c
index b895ff47..456f94a7 100644
--- a/src/sftp.c
+++ b/src/sftp.c
@@ -35,6 +35,7 @@
#include <sys/stat.h>
#ifndef _WIN32
+#include <netinet/in.h>
#include <arpa/inet.h>
#else
#define S_IFSOCK 0140000