Explorar o código

kernel/ptrace.c should #include <linux/syscalls.h>

Every file should include the headers containing the prototypes for its global
functions (in this case sys_ptrace()).

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Adrian Bunk %!s(int64=17) %!d(string=hai) anos
pai
achega
f17d30a803
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      kernel/ptrace.c

+ 1 - 0
kernel/ptrace.c

@@ -20,6 +20,7 @@
 #include <linux/signal.h>
 #include <linux/audit.h>
 #include <linux/pid_namespace.h>
+#include <linux/syscalls.h>
 
 #include <asm/pgtable.h>
 #include <asm/uaccess.h>