aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-12-20 15:49:29 +0100
committerAndreas Schneider <asn@cynapses.org>2010-12-20 15:49:29 +0100
commitd5df18a14fcb8591496389dbe9d17d78c551f42a (patch)
tree85e4a7ff0cb4836d499df290ec5655bfbc020878 /src
parentbffaa86664b921553b53aecbec0cb0af3762a67e (diff)
downloadlibssh-d5df18a14fcb8591496389dbe9d17d78c551f42a.tar.gz
libssh-d5df18a14fcb8591496389dbe9d17d78c551f42a.tar.xz
libssh-d5df18a14fcb8591496389dbe9d17d78c551f42a.zip
build: Fixed build warning on FreeBSD.
Diffstat (limited to 'src')
-rw-r--r--src/packet1.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/packet1.c b/src/packet1.c
index d4b2eaef..3bf4bbc2 100644
--- a/src/packet1.c
+++ b/src/packet1.c
@@ -19,6 +19,10 @@
* MA 02111-1307, USA.
*/
+#ifndef _WIN32
+#include <netinet/in.h>
+#endif /* _WIN32 */
+
#include "config.h"
#include "libssh/priv.h"
#include "libssh/ssh1.h"
@@ -27,6 +31,7 @@
#include "libssh/buffer.h"
#include "libssh/socket.h"
#include "libssh/kex.h"
+
#ifdef WITH_SSH1
ssh_packet_callback default_packet_handlers1[]= {