vcpkg/ports/tesseract/ws2-32.patch

13 lines
319 B
Diff
Raw Normal View History

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;