need winsock2.h in util.c

This commit is contained in:
nick black 2021-08-05 05:01:51 -04:00 committed by nick black
parent 6897356ef2
commit 0cc8ab0a21

View File

@ -1,6 +1,8 @@
#ifndef __MINGW64__ #ifndef __MINGW64__
#include <pwd.h> #include <pwd.h>
#include <unistd.h> #include <unistd.h>
#else
#include <winsock2.h>
#endif #endif
#include "internal.h" #include "internal.h"