Skip to contentSkip to conversation

Add <linux/compiler.h> to <asm/sigcontext.h>

PATCH New Tom Rini 1 participant 1 message Jun 6, 2005

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

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.

include/asm-ppc/sigcontext.h (mode:100644) +1 -1
Index: include/asm-ppc/sigcontext.h
===================================================================
@@ -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/