aboutsummaryrefslogtreecommitdiff
path: root/ports/tesseract/ws2-32.patch
blob: 1d3be8189d73a805c2832551882cfc0110525343 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;