Modifying a generic header like watchdog.h, removing not directly used #includes, can apparently break the build of m68k, because the asm/ptrace.h header relies on whoever includes it to already have included something that defines the type ulong.
Make the asm/ptrace.h header self-contained by including the proper header. Signed-off-by: Rasmus Villemoes <r...@prevas.dk> --- arch/m68k/include/asm/ptrace.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/m68k/include/asm/ptrace.h b/arch/m68k/include/asm/ptrace.h index d419824806c..5decf73a1d1 100644 --- a/arch/m68k/include/asm/ptrace.h +++ b/arch/m68k/include/asm/ptrace.h @@ -9,6 +9,8 @@ */ #ifndef __ASSEMBLY__ +#include <linux/types.h> + struct pt_regs { ulong d0; ulong d1; -- 2.46.2