mingw: add required includes

This commit is contained in:
Craig Carnell 2025-12-08 19:50:18 +00:00
parent a7a17dd4a9
commit 27324006ca
5 changed files with 10 additions and 2 deletions

View File

@ -12,6 +12,9 @@
#ifdef _WIN32
#include <tchar.h>
#if defined(__MINGW32__)
#include <string>
#endif
#else
// For using Windows lock code
#define TCHAR char

View File

@ -35,6 +35,7 @@
#include <direct.h> // getcwd
#include <io.h>
#include <objbase.h> // guid stuff
#include <share.h>
#include <shellapi.h>
#else
#include <libgen.h>

View File

@ -8,7 +8,7 @@
#ifdef _WIN32
#include <io.h>
#include <share.h>
#include "Common/CommonFuncs.h"
#include "Common/StringUtil.h"
#else

View File

@ -9,7 +9,7 @@
#include "SFML/Network/Socket.hpp"
#ifdef _WIN32
#include <ws2ipdef.h>
#include <ws2tcpip.h>
#else
#include <sys/select.h>
#include <sys/socket.h>

View File

@ -7,6 +7,10 @@
#include <string_view>
#include <vector>
#ifdef _WIN32
#include <windows.h>
#endif
#include <fmt/ostream.h>
#include "DolphinTool/ConvertCommand.h"