void-packages/srcpkgs/psmisc/patches/ppc-musl.patch
Jürgen Buchmüller bb66d193e5
psmisc: fix ppc64*-musl
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-01-12 21:49:38 +01:00

12 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>