summaryrefslogtreecommitdiffstats
path: root/src/buffer.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:17:05 +0200
commitae83f775116b012727bc977a03ee8803627859aa (patch)
tree9f8b12b5946d2b19bf08ec0f92f8e961fa20f75b /src/buffer.c
parent4d8420f3282ed07fc99fc5e930c17df27ef1e9b2 (diff)
downloadlibssh-ae83f775116b012727bc977a03ee8803627859aa.tar.gz
libssh-ae83f775116b012727bc977a03ee8803627859aa.tar.xz
libssh-ae83f775116b012727bc977a03ee8803627859aa.zip
build: Fix missing struct in_addr warning.
(cherry picked from commit 782b2e37c6a4e0254e2b596b9182043c5ebabd75)
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 27d2592d..e68f16f1 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -25,6 +25,7 @@
#include <string.h>
#ifndef _WIN32
+#include <netinet/in.h>
#include <arpa/inet.h>
#endif