summaryrefslogtreecommitdiff
path: root/base.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-09-10 13:40:05 -0400
committerpommicket <pommicket@gmail.com>2023-09-10 13:40:05 -0400
commit6586f9e66d87017984f57b3b4579c78897ba66f2 (patch)
treef84ab9a9b4a6449e123cfed0a3e9245750a19fd6 /base.h
parent5e22cc67e92a87a0448dea70c89a4472b961fa14 (diff)
LSP over TCP on windows
Diffstat (limited to 'base.h')
-rw-r--r--base.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/base.h b/base.h
index dfc9f2f..b438b19 100644
--- a/base.h
+++ b/base.h
@@ -22,6 +22,9 @@
#endif
#if _WIN32
+// windows is stupid — we have to include winsock2.h first
+#include <winsock2.h>
+#include <ws2tcpip.h>
#include <windows.h>
#include <shlobj.h>
#include <dbghelp.h>