Commit f2906e3f authored by Kai Germaschewski's avatar Kai Germaschewski Committed by Kai Germaschewski

include/linux/ptrace.h: fix includes

ptrace.h needs struct task_struct, so we need to include <linux/sched.h>.
parent 84139767
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#define PTRACE_SYSCALL 24 #define PTRACE_SYSCALL 24
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include <linux/sched.h>
extern int ptrace_readdata(struct task_struct *tsk, unsigned long src, char *dst, int len); extern int ptrace_readdata(struct task_struct *tsk, unsigned long src, char *dst, int len);
extern int ptrace_writedata(struct task_struct *tsk, char * src, unsigned long dst, int len); extern int ptrace_writedata(struct task_struct *tsk, char * src, unsigned long dst, int len);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment