[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] knownhosts: Fix windows build failure


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