void-packages/srcpkgs/psmisc/patches/ppc-musl.patch

13 lines
327 B
Diff

--- src/peekfd.c 2018-08-13 13:24:56.871341954 +0200
+++ src/peekfd.c 2019-01-12 21:44:15.913496261 +0100
@@ -30,7 +30,9 @@
#include <asm/ptrace.h>
#include <byteswap.h>
#include <endian.h>
+#if !defined(PPC) || defined(__GLIBC__)
#include <sys/user.h>
+#endif
#include <stdlib.h>
#include <getopt.h>
#include <ctype.h>