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 #include -#ifndef _WIN32 -#include -#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 +#endif + #include "libssh/priv.h" #include "libssh/buffer.h" #include "libssh/kex.h"