summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/pcsx2/files/pcsx2-1.7.5817-missing-headers.patch')
-rw-r--r--games-emulation/pcsx2/files/pcsx2-1.7.5817-missing-headers.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/games-emulation/pcsx2/files/pcsx2-1.7.5817-missing-headers.patch b/games-emulation/pcsx2/files/pcsx2-1.7.5817-missing-headers.patch
new file mode 100644
index 000000000000..d8d341a7dea1
--- /dev/null
+++ b/games-emulation/pcsx2/files/pcsx2-1.7.5817-missing-headers.patch
@@ -0,0 +1,18 @@
+ThreadedFileReader.cpp:37:4: error: use of undeclared identifier 'memcpy'
+defs.h:78:14: error: no member named 'clamp' in namespace 'std'
+--- a/pcsx2/CDVD/ThreadedFileReader.h
++++ b/pcsx2/CDVD/ThreadedFileReader.h
+@@ -10,4 +10,5 @@
+ #include <atomic>
+ #include <condition_variable>
++#include <cstring>
+
+ class Error;
+--- a/pcsx2/SPU2/defs.h
++++ b/pcsx2/SPU2/defs.h
+@@ -6,4 +6,5 @@
+ #include "GS/MultiISA.h"
+
++#include <algorithm>
+ #include <array>
+