From 859fb469b88c5470468484e10829111e8aee18c8 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 6 Mar 2023 11:21:54 +0000 Subject: 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)) {} ~~~~~^ --- src/core/hle/kernel/k_scoped_lock.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/hle') 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 +#include #include namespace Kernel { -- cgit v1.2.3