From f218c5f4e557f5bec0f6bdfd550f736701245d56 Mon Sep 17 00:00:00 2001 From: Albert Vaca Cintora Date: Sun, 16 Jul 2023 18:01:13 +0200 Subject: [PATCH] Fix windows build --- core/backends/lan/lanlinkprovider.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/backends/lan/lanlinkprovider.cpp b/core/backends/lan/lanlinkprovider.cpp index c7cc8633b..6f71066ef 100644 --- a/core/backends/lan/lanlinkprovider.cpp +++ b/core/backends/lan/lanlinkprovider.cpp @@ -13,8 +13,9 @@ #include #include #else -#include #include +// Winsock2 needs to be included before any other header +#include #endif #include