[wpinet] uv/util.h: Pull in ws2_32.lib on Windows for ntohs (#4371)

This commit is contained in:
Peter Johnson
2022-08-21 18:48:49 -07:00
committed by GitHub
parent 539070820d
commit 594df5fc08

View File

@@ -10,6 +10,10 @@
#include <cstring>
#include <string_view>
#ifdef _WIN32
#pragma comment(lib, "Ws2_32.lib")
#endif
namespace wpi::uv {
/**