Fix include order for winsock2

This commit is contained in:
Tixx
2026-01-24 20:34:47 +01:00
parent 7d00d489e4
commit b1c3b978ff
2 changed files with 2 additions and 3 deletions

View File

@@ -5,6 +5,7 @@
*/ */
#include <cstring> #include <cstring>
#include "Utils.h"
#if defined(_WIN32) #if defined(_WIN32)
#include <shlobj.h> #include <shlobj.h>
#elif defined(__linux__) #elif defined(__linux__)
@@ -19,7 +20,6 @@
#include "Logger.h" #include "Logger.h"
#include "Options.h" #include "Options.h"
#include "Startup.h" #include "Startup.h"
#include "Utils.h"
#include <Security/Init.h> #include <Security/Init.h>
#include <filesystem> #include <filesystem>
#include <thread> #include <thread>

View File

@@ -6,6 +6,7 @@
#include <filesystem> #include <filesystem>
#include "Utils.h"
#if defined(_WIN32) #if defined(_WIN32)
#include <shlobj_core.h> #include <shlobj_core.h>
#elif defined(__linux__) #elif defined(__linux__)
@@ -15,8 +16,6 @@
#include <vector> #include <vector>
#endif #endif
#include "Logger.h" #include "Logger.h"
#include "Utils.h"
#include <fstream> #include <fstream>
#include <string> #include <string>
#include <thread> #include <thread>