[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] knownhosts: Fix windows build failure
[Thread Prev] | [Thread Next]
- Subject: [PATCH] knownhosts: Fix windows build failure
- From: Alberto Aguirre <albaguirre@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Fri, 22 Jun 2018 09:19:28 -0500
- To: libssh@xxxxxxxxxx
- Cc: Alberto Aguirre <albaguirre@xxxxxxxxx>
Signed-off-by: Alberto Aguirre <albaguirre@xxxxxxxxx> --- src/knownhosts.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/knownhosts.c b/src/knownhosts.c index 648cd777..28f5e4a6 100644 --- a/src/knownhosts.c +++ b/src/knownhosts.c @@ -28,8 +28,11 @@ #include <errno.h> #include <stdio.h> #include <stdlib.h> + +#ifndef _WIN32 #include <arpa/inet.h> #include <netinet/in.h> +#endif #include "libssh/priv.h" #include "libssh/dh.h" -- 2.17.1
Archive administrator: postmaster@lists.cynapses.org