From 5ecc71f04c5c343475c73420f42ed7577822e2b9 Mon Sep 17 00:00:00 2001 From: Egor Date: Wed, 31 Jan 2024 21:07:48 +0200 Subject: [PATCH] passwd.c: fix compilation on windows --- src/passwd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/passwd.c b/src/passwd.c index aa81a0d..ed0bf06 100644 --- a/src/passwd.c +++ b/src/passwd.c @@ -1,3 +1,6 @@ +#include +#include +#include "netsock.h" #ifdef _WIN32 const char *password_hash(const char *pw) { @@ -20,11 +23,8 @@ int password_check(const char *key, const char *pw, const char *fn) return -1; } #else -#include -#include #include #include -#include "netsock.h" const char *password_hash(const char *pw) { char salt[20]; -- 2.56.0