]> git.neil.brown.name Git - history.git/commitdiff
include/linux/ptrace.h: fix includes
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Mon, 2 Sep 2002 09:45:52 +0000 (04:45 -0500)
committerKai Germaschewski <kai@zephyr.physics.uiowa.edu>
Mon, 2 Sep 2002 09:45:52 +0000 (04:45 -0500)
ptrace.h needs struct task_struct, so we need to include <linux/sched.h>.

include/linux/ptrace.h

index 78512fa922b986a935d1878e945d122a3a479fe6..a0378ef64867909da4e752ff1516a38b61f36f51 100644 (file)
@@ -24,6 +24,7 @@
 #define PTRACE_SYSCALL           24
 
 #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_writedata(struct task_struct *tsk, char * src, unsigned long dst, int len);