mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
49b9ad7197
* partial tun code refactor * take out the trash * move vpn platform code into llarp/vpn/platform.cpp * fix hive build * fix win32 * fix memory leak on win32 * reduce cpu use * make macos compile * win32 patches: * use wepoll for zmq * use all cores on windows iocp read loop * fix zmq patch for windows * clean up cmake for win32 * add uninstall before reinstall option to win32 installer * more ipv6 stuff * make it compile * fix up route poker * remove an unneeded code block in macos wtf * always use call to system * fix route poker behavior on macos * disable ipv6 on windows for now * cpu perf improvement: * colease calls to Router::PumpLL to 1 per event loop wakeup * set up THEN add addresses * emulate proactor event loop on win32 * remove excessively verbose error message * fix issue #1499 * exclude uv_poll from win32 so that it can start up * update logtag to include directory * create minidump on windows if there was a crash * make windows happy * use dmp suffix on minidump files * typo fix * address feedback from jason * use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR * quote $@ in apply-patches in case path has spaces in it * address feedback from tom * remove llarp/ev/pipe * add comments for clairification * make event loop queue size constant named
17 lines
361 B
Diff
17 lines
361 B
Diff
diff --git a/external/wepoll/wepoll.c b/external/wepoll/wepoll.c
|
|
--- a/external/wepoll/wepoll.c
|
|
+++ b/external/wepoll/wepoll.c
|
|
@@ -140,9 +140,9 @@
|
|
#pragma warning(push, 1)
|
|
#endif
|
|
|
|
-#include <WS2tcpip.h>
|
|
-#include <WinSock2.h>
|
|
-#include <Windows.h>
|
|
+#include <ws2tcpip.h>
|
|
+#include <winsock2.h>
|
|
+#include <windows.h>
|
|
|
|
#ifndef __GNUC__
|
|
#pragma warning(pop)
|