diff options
author | Andreas Schneider <asn@cynapses.org> | 2010-12-20 15:45:49 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cynapses.org> | 2010-12-20 15:45:49 +0100 |
commit | bffaa86664b921553b53aecbec0cb0af3762a67e (patch) | |
tree | ec53db27ed726afd5902e04662ccf114ae4ef1d8 | |
parent | 1922341e2aa1c8a9f578c33315c3a3842a437fd2 (diff) | |
download | libssh-bffaa86664b921553b53aecbec0cb0af3762a67e.tar.gz libssh-bffaa86664b921553b53aecbec0cb0af3762a67e.tar.xz libssh-bffaa86664b921553b53aecbec0cb0af3762a67e.zip |
build: Fixed some build warnings on FreeBSD.
-rw-r--r-- | src/pcap.c | 1 | ||||
-rw-r--r-- | src/server.c | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -27,6 +27,7 @@ #ifdef _WIN32 #include <ws2tcpip.h> #else +#include <netinet/in.h> #include <sys/time.h> #include <sys/socket.h> #endif 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" |