mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 04:27:50 +08:00
13 lines
319 B
Diff
13 lines
319 B
Diff
|
diff --git a/viewer/svutil.cpp b/viewer/svutil.cpp
|
||
|
index 34a2286..bc2a7e1 100644
|
||
|
--- a/viewer/svutil.cpp
|
||
|
+++ b/viewer/svutil.cpp
|
||
|
@@ -23,6 +23,7 @@
|
||
|
#include <stdio.h>
|
||
|
#ifdef _WIN32
|
||
|
#include <windows.h>
|
||
|
+#pragma comment(lib, "Ws2_32.lib")
|
||
|
struct addrinfo {
|
||
|
struct sockaddr* ai_addr;
|
||
|
int ai_addrlen;
|