]> PatchyGit - patchyircd.git/commitdiff
passwd.c: include netsock.h first
authorEgor <egor@patchysicp.xyz>
Wed, 31 Jan 2024 19:10:48 +0000 (21:10 +0200)
committerEgor <egor@patchysicp.xyz>
Wed, 31 Jan 2024 19:10:48 +0000 (21:10 +0200)
fixes _WIN32_WINNT redefinition

src/passwd.c

index ed0bf06..f4c0036 100644 (file)
@@ -1,6 +1,6 @@
+#include "netsock.h"
 #include <stdio.h>
 #include <string.h>
-#include "netsock.h"
 #ifdef _WIN32
 const char *password_hash(const char *pw)
 {