Add <linux/compiler.h> to <asm/sigcontext.h>
PATCH 1/1 Add <linux/compiler.h> to <asm/sigcontext.h>
On ppc32, <asm/sigcontext.h> uses __user, but doesn't directly include <linux/compiler.h>. This adds that in. Without this, glibc will not compile.
Signed-off-by Tom Rini <[email protected]>
include/asm-ppc/sigcontext.h (mode:100644) +1 -1
@@ -2,7 +2,7 @@ #define _ASM_PPC_SIGCONTEXT_H #include <asm/ptrace.h> - +#include <linux/compiler.h> struct sigcontext { unsigned long _unused[4];
Signature · 2 lines
Tom Rini http://gate.crashing.org/~trini/