diff options
| author | 2022-03-19 01:50:03 -0400 | |
|---|---|---|
| committer | 2022-03-20 02:25:09 -0400 | |
| commit | 866b7c20a8958069a048ffa600155ec3cbd2e5f2 (patch) | |
| tree | 54191364052f7adc86f4f94afcb45b68186edda2 /src/common/atomic_ops.h | |
| parent | yuzu_cmd: Reduce unused includes (diff) | |
| download | yuzu-866b7c20a8958069a048ffa600155ec3cbd2e5f2.tar.gz yuzu-866b7c20a8958069a048ffa600155ec3cbd2e5f2.tar.xz yuzu-866b7c20a8958069a048ffa600155ec3cbd2e5f2.zip | |
general: Fix clang/gcc build errors
Diffstat (limited to 'src/common/atomic_ops.h')
| -rw-r--r-- | src/common/atomic_ops.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/atomic_ops.h b/src/common/atomic_ops.h index c488489ea..b94d73c7a 100644 --- a/src/common/atomic_ops.h +++ b/src/common/atomic_ops.h | |||
| @@ -8,6 +8,8 @@ | |||
| 8 | 8 | ||
| 9 | #if _MSC_VER | 9 | #if _MSC_VER |
| 10 | #include <intrin.h> | 10 | #include <intrin.h> |
| 11 | #else | ||
| 12 | #include <cstring> | ||
| 11 | #endif | 13 | #endif |
| 12 | 14 | ||
| 13 | namespace Common { | 15 | namespace Common { |