From: Egor Date: Wed, 31 Jan 2024 19:07:48 +0000 (+0200) Subject: passwd.c: fix compilation on windows X-Git-Url: https://git.patchysicp.xyz/?a=commitdiff_plain;h=5ecc71f04c5c343475c73420f42ed7577822e2b9;p=patchyircd.git passwd.c: fix compilation on windows --- 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];