summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-03-06 11:21:54 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-03-06 11:49:25 +0000
commit859fb469b88c5470468484e10829111e8aee18c8 (patch)
tree881d03bced7c6d73adc7d45f05851b10943c956b /src
parentfdae95efaa84fe1baeab0b4dd1435720cae0f88d (diff)
kernel: add missing header for libc++
In file included from src/core/hle/kernel/k_light_lock.cpp:4: In file included from src/./core/hle/kernel/k_light_lock.h:8: src/./core/hle/kernel/k_scoped_lock.h:25:51: error: no member named 'addressof' in namespace 'std' explicit KScopedLock(T& l) : KScopedLock(std::addressof(l)) {} ~~~~~^
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/k_scoped_lock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_scoped_lock.h b/src/core/hle/kernel/k_scoped_lock.h
index 59b3e32ae..a15640fd2 100644
--- a/src/core/hle/kernel/k_scoped_lock.h
+++ b/src/core/hle/kernel/k_scoped_lock.h
@@ -4,6 +4,7 @@
#pragma once
#include <concepts>
+#include <memory>
#include <type_traits>
namespace Kernel {