diff options
| author | OatmealDome <OatmealDome@users.noreply.github.com> | 2026-01-25 20:28:56 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-25 20:28:56 -0500 |
| commit | 5bedfe7732360301dfc46021482fadc51952d543 (patch) | |
| tree | 4263ea748b1b70960a1e28ae89cd26a361be4faf /Source/Core/Common/MemoryUtil.cpp | |
| parent | cdbea8867df3d0a6fc375e78726dae95612fb1fd (diff) | |
| parent | a14c88ba67a51b0a563a5fc800cd089e82ffacaf (diff) | |
Merge pull request #14304 from SuperSamus/header-cleanup
Remove unused imports
Diffstat (limited to 'Source/Core/Common/MemoryUtil.cpp')
| -rw-r--r-- | Source/Core/Common/MemoryUtil.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/Core/Common/MemoryUtil.cpp b/Source/Core/Common/MemoryUtil.cpp index f4759c41a0..0d66890d2b 100644 --- a/Source/Core/Common/MemoryUtil.cpp +++ b/Source/Core/Common/MemoryUtil.cpp @@ -5,10 +5,8 @@ #include <cstddef> #include <cstdlib> -#include <string> #include "Common/CommonFuncs.h" -#include "Common/CommonTypes.h" #include "Common/Logging/Log.h" #include "Common/MsgHandler.h" @@ -16,10 +14,11 @@ #include <windows.h> #include "Common/StringUtil.h" #else -#include <pthread.h> #include <stdio.h> #include <sys/mman.h> -#include <sys/types.h> +#if defined(_M_ARM_64) && defined(__APPLE__) +#include <pthread.h> +#endif #if defined __APPLE__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ #include <sys/sysctl.h> #elif defined __HAIKU__ |
