Fix build with gcc 13

Now some header files are not included transistively with new
libstdc++.

Bug: https://bugs.gentoo.org/895226
This commit is contained in:
Matthew Smith 2023-02-20 16:09:19 +00:00 committed by SChernykh
parent ebe818a5fb
commit 51728b2d55
5 changed files with 13 additions and 0 deletions

View file

@ -23,6 +23,9 @@
*/ */
#include <stdexcept>
#include "backend/opencl/runners/OclBaseRunner.h" #include "backend/opencl/runners/OclBaseRunner.h"
#include "backend/opencl/cl/OclSource.h" #include "backend/opencl/cl/OclSource.h"
#include "backend/opencl/OclCache.h" #include "backend/opencl/OclCache.h"

View file

@ -16,6 +16,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <stdexcept>
#include "backend/opencl/runners/OclCnRunner.h" #include "backend/opencl/runners/OclCnRunner.h"
#include "backend/opencl/kernels/Cn0Kernel.h" #include "backend/opencl/kernels/Cn0Kernel.h"
#include "backend/opencl/kernels/Cn1Kernel.h" #include "backend/opencl/kernels/Cn1Kernel.h"

View file

@ -16,6 +16,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <stdexcept>
#include "backend/opencl/runners/OclKawPowRunner.h" #include "backend/opencl/runners/OclKawPowRunner.h"
#include "backend/common/Tags.h" #include "backend/common/Tags.h"
#include "3rdparty/libethash/ethash_internal.h" #include "3rdparty/libethash/ethash_internal.h"

View file

@ -16,6 +16,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <stdexcept>
#include "backend/opencl/runners/OclRxJitRunner.h" #include "backend/opencl/runners/OclRxJitRunner.h"
#include "backend/opencl/cl/rx/randomx_run_gfx803.h" #include "backend/opencl/cl/rx/randomx_run_gfx803.h"
#include "backend/opencl/cl/rx/randomx_run_gfx900.h" #include "backend/opencl/cl/rx/randomx_run_gfx900.h"

View file

@ -21,6 +21,7 @@
#define XMRIG_HTTPRESPONSE_H #define XMRIG_HTTPRESPONSE_H
#include <cstdint>
#include <map> #include <map>
#include <string> #include <string>