summary refs log tree commit diff
path: root/pkgs/misc/emulators/higan/001-include-cmath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/misc/emulators/higan/001-include-cmath.patch')
-rw-r--r--pkgs/misc/emulators/higan/001-include-cmath.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/misc/emulators/higan/001-include-cmath.patch b/pkgs/misc/emulators/higan/001-include-cmath.patch
new file mode 100644
index 00000000000..67644e656aa
--- /dev/null
+++ b/pkgs/misc/emulators/higan/001-include-cmath.patch
@@ -0,0 +1,8 @@
+diff -Naur source-old/higan/fc/ppu/ppu.cpp source-new/higan/fc/ppu/ppu.cpp
+--- source-old/higan/fc/ppu/ppu.cpp	1969-12-31 21:00:01.000000000 -0300
++++ source-new/higan/fc/ppu/ppu.cpp	2021-09-29 22:23:19.107527772 -0300
+@@ -1,3 +1,4 @@
++#include <cmath>
+ #include <fc/fc.hpp>
+ 
+ namespace higan::Famicom {