From 925554b45c24b64707c6f24fd3d1a1ad54bf41df Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 22 Feb 2021 12:21:02 +0000 Subject: [PATCH 1/2] common: add missing header after a02cc7e03996 In file included from src/video_core/dma_pusher.cpp:5: src/./common/cityhash.h:69:47: error: 'size_t' has not been declared 69 | [[nodiscard]] u64 CityHash64(const char* buf, size_t len); | ^~~~~~ src/./common/cityhash.h:73:55: error: 'size_t' has not been declared 73 | [[nodiscard]] u64 CityHash64WithSeed(const char* buf, size_t len, u64 seed); | ^~~~~~ src/./common/cityhash.h:77:56: error: 'size_t' has not been declared 77 | [[nodiscard]] u64 CityHash64WithSeeds(const char* buf, size_t len, u64 seed0, u64 seed1); | ^~~~~~ src/./common/cityhash.h:80:47: error: 'size_t' has not been declared 80 | [[nodiscard]] u128 CityHash128(const char* s, size_t len); | ^~~~~~ src/./common/cityhash.h:84:55: error: 'size_t' has not been declared 84 | [[nodiscard]] u128 CityHash128WithSeed(const char* s, size_t len, u128 seed); | ^~~~~~ --- src/common/cityhash.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/cityhash.h b/src/common/cityhash.h index 022d0f7cb3..d74fc76393 100644 --- a/src/common/cityhash.h +++ b/src/common/cityhash.h @@ -61,6 +61,7 @@ #pragma once +#include #include "common/common_types.h" namespace Common { From 7936e43cc179adbd522483ad2dd26d7be8e7ab9f Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 22 Feb 2021 12:29:31 +0000 Subject: [PATCH 2/2] video_core: add missing header after a4e811af27e3 src/video_core/shader_notify.cpp: In member function 'void VideoCore::ShaderNotify::MarkShaderComplete()': src/video_core/shader_notify.cpp:33:10: error: 'unique_lock' is not a member of 'std' 33 | std::unique_lock lock{mutex}; | ^~~~~~~~~~~ src/video_core/shader_notify.cpp:6:1: note: 'std::unique_lock' is defined in header ''; did you forget to '#include '? 5 | #include "video_core/shader_notify.h" +++ |+#include 6 | src/video_core/shader_notify.cpp: In member function 'void VideoCore::ShaderNotify::MarkSharderBuilding()': src/video_core/shader_notify.cpp:38:10: error: 'unique_lock' is not a member of 'std' 38 | std::unique_lock lock{mutex}; | ^~~~~~~~~~~ src/video_core/shader_notify.cpp:38:10: note: 'std::unique_lock' is defined in header ''; did you forget to '#include '? --- src/video_core/shader_notify.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video_core/shader_notify.cpp b/src/video_core/shader_notify.cpp index c3c71657d9..693e47158e 100644 --- a/src/video_core/shader_notify.cpp +++ b/src/video_core/shader_notify.cpp @@ -2,6 +2,7 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. +#include #include "video_core/shader_notify.h" using namespace std::chrono_literals;