summaryrefslogtreecommitdiff
path: root/games-emulation/shadPS4/files/shadPS4-0.15.0-getpid.patch
blob: 1277b08bce839ec6dfe57846b145212f09892f79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Includes headers needed for getpid()
Closes: https://bugs.gentoo.org/975955

--- a/src/core/debugger.cpp
+++ b/src/core/debugger.cpp
@@ -12,6 +12,8 @@
 #elif defined(__linux__)
 #include <filesystem>
 #include <fstream>
+#include <sys/types.h>
+#include <unistd.h>
 #elif defined(__APPLE__)
 #include <errno.h>
 #include <signal.h>