From: Jean Delvare Date: Sat, 21 Jul 2007 15:09:52 +0000 (+0200) Subject: x86_64: asm/ptrace.h needs linux/compiler.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9d531cc1193693f2d2e5ef2532a877481b118be6;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git x86_64: asm/ptrace.h needs linux/compiler.h On x86_64, uses __user but doesn't include . This could lead to build failures. Signed-off-by: Jean Delvare Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- diff --git a/include/asm-x86_64/ptrace.h b/include/asm-x86_64/ptrace.h index 5ea84dbb1e9c..7f166ccb0606 100644 --- a/include/asm-x86_64/ptrace.h +++ b/include/asm-x86_64/ptrace.h @@ -1,6 +1,7 @@ #ifndef _X86_64_PTRACE_H #define _X86_64_PTRACE_H +#include /* For __user */ #include #ifndef __ASSEMBLY__