From 51728b2d5542ea24d0732c7fdacd10522d6aaa73 Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Mon, 20 Feb 2023 16:09:19 +0000 Subject: [PATCH] Fix build with gcc 13 Now some header files are not included transistively with new libstdc++. Bug: https://bugs.gentoo.org/895226 --- src/backend/opencl/runners/OclBaseRunner.cpp | 3 +++ src/backend/opencl/runners/OclCnRunner.cpp | 3 +++ src/backend/opencl/runners/OclKawPowRunner.cpp | 3 +++ src/backend/opencl/runners/OclRxJitRunner.cpp | 3 +++ src/base/net/http/HttpResponse.h | 1 + 5 files changed, 13 insertions(+) diff --git a/src/backend/opencl/runners/OclBaseRunner.cpp b/src/backend/opencl/runners/OclBaseRunner.cpp index 9e2a48a9..33ffda6a 100644 --- a/src/backend/opencl/runners/OclBaseRunner.cpp +++ b/src/backend/opencl/runners/OclBaseRunner.cpp @@ -23,6 +23,9 @@ */ +#include + + #include "backend/opencl/runners/OclBaseRunner.h" #include "backend/opencl/cl/OclSource.h" #include "backend/opencl/OclCache.h" diff --git a/src/backend/opencl/runners/OclCnRunner.cpp b/src/backend/opencl/runners/OclCnRunner.cpp index 9c1e8544..a9a2913a 100644 --- a/src/backend/opencl/runners/OclCnRunner.cpp +++ b/src/backend/opencl/runners/OclCnRunner.cpp @@ -16,6 +16,9 @@ * along with this program. If not, see . */ +#include + + #include "backend/opencl/runners/OclCnRunner.h" #include "backend/opencl/kernels/Cn0Kernel.h" #include "backend/opencl/kernels/Cn1Kernel.h" diff --git a/src/backend/opencl/runners/OclKawPowRunner.cpp b/src/backend/opencl/runners/OclKawPowRunner.cpp index 275e3f9a..f31585d8 100644 --- a/src/backend/opencl/runners/OclKawPowRunner.cpp +++ b/src/backend/opencl/runners/OclKawPowRunner.cpp @@ -16,6 +16,9 @@ * along with this program. If not, see . */ +#include + + #include "backend/opencl/runners/OclKawPowRunner.h" #include "backend/common/Tags.h" #include "3rdparty/libethash/ethash_internal.h" diff --git a/src/backend/opencl/runners/OclRxJitRunner.cpp b/src/backend/opencl/runners/OclRxJitRunner.cpp index c106c94d..26ed52b8 100644 --- a/src/backend/opencl/runners/OclRxJitRunner.cpp +++ b/src/backend/opencl/runners/OclRxJitRunner.cpp @@ -16,6 +16,9 @@ * along with this program. If not, see . */ +#include + + #include "backend/opencl/runners/OclRxJitRunner.h" #include "backend/opencl/cl/rx/randomx_run_gfx803.h" #include "backend/opencl/cl/rx/randomx_run_gfx900.h" diff --git a/src/base/net/http/HttpResponse.h b/src/base/net/http/HttpResponse.h index a6b44997..9e632598 100644 --- a/src/base/net/http/HttpResponse.h +++ b/src/base/net/http/HttpResponse.h @@ -21,6 +21,7 @@ #define XMRIG_HTTPRESPONSE_H +#include #include #include