aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/kex.c4
-rw-r--r--src/kex1.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/kex.c b/src/kex.c
index e3a7857a..fdff206d 100644
--- a/src/kex.c
+++ b/src/kex.c
@@ -27,10 +27,6 @@
#include <stdlib.h>
#include <stdio.h>
-#ifndef _WIN32
-#include <arpa/inet.h>
-#endif
-
#include "libssh/priv.h"
#include "libssh/buffer.h"
#include "libssh/dh.h"
diff --git a/src/kex1.c b/src/kex1.c
index 9daf5c33..ef1ccb48 100644
--- a/src/kex1.c
+++ b/src/kex1.c
@@ -23,6 +23,10 @@
#include "config.h"
+#ifndef _WIN32
+#include <arpa/inet.h>
+#endif
+
#include "libssh/priv.h"
#include "libssh/buffer.h"
#include "libssh/kex.h"