summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2018-08-10 13:46:57 +0100
committer smf- <smf-@users.noreply.github.com>2018-08-11 08:00:45 +0100
commite84cae7fc6ecd1c8dd2de16c5a2a6469b04ff6ed (patch)
tree15be68c59fb509c3ee91653636083f4b9f757ddb
parent23b768a15d4d62c112479fd072d791758277123d (diff)
fix for undefined fmin & ceil on GNU Guix with GCC 5.5.0 (nw)
-rw-r--r--src/devices/cpu/mips/mips3.cpp1
-rw-r--r--src/devices/cpu/mips/ps2vif1.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/cpu/mips/mips3.cpp b/src/devices/cpu/mips/mips3.cpp
index 00ca50b1a3d..5349ad3179f 100644
--- a/src/devices/cpu/mips/mips3.cpp
+++ b/src/devices/cpu/mips/mips3.cpp
@@ -14,6 +14,7 @@
#include "mips3com.h"
#include "mips3dsm.h"
#include "ps2vu.h"
+#include <cmath>
#define ENABLE_OVERFLOWS (0)
#define ENABLE_EE_ELF_LOADER (0)
diff --git a/src/devices/cpu/mips/ps2vif1.cpp b/src/devices/cpu/mips/ps2vif1.cpp
index d8e7827cdae..30f7aadc0bc 100644
--- a/src/devices/cpu/mips/ps2vif1.cpp
+++ b/src/devices/cpu/mips/ps2vif1.cpp
@@ -13,6 +13,7 @@
#include "emu.h"
#include "ps2vif1.h"
+#include <cmath>
#include "video/ps2gif.h"