ShatteredPrism/flatpak/patches/gamemode.patch
guihkx e3b7aed76b
chore: sync local flatpak manifest with flathub's
Signed-off-by: guihkx <626206+guihkx@users.noreply.github.com>
2023-11-19 11:08:52 -03:00

13 lines
330 B
Diff

diff -ruN a/common/common-pidfds.c b/common/common-pidfds.c
--- a/common/common-pidfds.c 2021-02-18 20:00:12.000000000 +0100
+++ b/common/common-pidfds.c 2023-09-07 08:57:42.954362763 +0200
@@ -58,6 +58,8 @@
{
return (int)syscall(__NR_pidfd_open, pid, flags);
}
+#else
+#include <sys/pidfd.h>
#endif
/* pidfd functions */