Remove winnt.h include from xmrig.cpp

- Remove Windows-specific winnt.h include
- Keep only windows.h wrapped in #ifdef _WIN32
- Linux builds should now work without Windows headers
This commit is contained in:
JorySeverijnse 2025-12-13 23:56:23 +01:00
parent 331e1e115d
commit 71b068ea2f

View File

@ -8,7 +8,6 @@
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> #include <windows.h>
#endif #endif
#include <winnt.h>
#include <string> #include <string>
#include <cstring> #include <cstring>
#include <uv.h> #include <uv.h>