From 742662e4fca3f563728016a7bf3fb6fc59ab8b15 Mon Sep 17 00:00:00 2001 From: kth5 Date: Mon, 24 Jun 2024 23:41:55 +0200 Subject: [PATCH] Fix missing std::find_if and others with GCC 14.1.1 --- cpu/ppc/ppcdisasm.cpp | 1 + devices/memctrl/mpc106.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/cpu/ppc/ppcdisasm.cpp b/cpu/ppc/ppcdisasm.cpp index 75e7666..8cba958 100644 --- a/cpu/ppc/ppcdisasm.cpp +++ b/cpu/ppc/ppcdisasm.cpp @@ -26,6 +26,7 @@ along with this program. If not, see . #define _CRT_SECURE_NO_WARNINGS /* shut up MSVC regarding the unsafe strcpy/strcat */ #include "ppcdisasm.h" +#include #include #include /* without this, MSVC doesn't understand std::function */ #include diff --git a/devices/memctrl/mpc106.cpp b/devices/memctrl/mpc106.cpp index bda6c9e..49b4b1b 100644 --- a/devices/memctrl/mpc106.cpp +++ b/devices/memctrl/mpc106.cpp @@ -28,6 +28,7 @@ along with this program. If not, see . #include #include +#include #include #include #include