aboutsummaryrefslogtreecommitdiff
path: root/src/server.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-12-20 15:45:49 +0100
committerAndreas Schneider <asn@cynapses.org>2010-12-20 15:45:49 +0100
commitbffaa86664b921553b53aecbec0cb0af3762a67e (patch)
treeec53db27ed726afd5902e04662ccf114ae4ef1d8 /src/server.c
parent1922341e2aa1c8a9f578c33315c3a3842a437fd2 (diff)
downloadlibssh-bffaa86664b921553b53aecbec0cb0af3762a67e.tar.gz
libssh-bffaa86664b921553b53aecbec0cb0af3762a67e.tar.xz
libssh-bffaa86664b921553b53aecbec0cb0af3762a67e.zip
build: Fixed some build warnings on FreeBSD.
Diffstat (limited to 'src/server.c')
-rw-r--r--src/server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server.c b/src/server.c
index c1d8d692..330d5ef1 100644
--- a/src/server.c
+++ b/src/server.c
@@ -28,6 +28,9 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+#ifndef _WIN32
+#include <netinet/in.h>
+#endif
#include "libssh/priv.h"
#include "libssh/libssh.h"