2002-09-01 06:46:39

by Nicholas Miell

[permalink] [raw]
Subject: 2.5.33 OSS compile fix

include/linux/ptrace.h now needs task_struct from sched.h, which is
breaking things that include ptrace.h before sched.h.

As far as I can tell, OSS doesn't need ptrace.h anyway, so this patch
removes the #include altogether. Somebody else can deal with ptrace.h
itself.

--- linux-2.5-build/sound/oss/os.h.~1~ Sun Feb 10 18:50:17 2002
+++ linux-2.5-build/sound/oss/os.h Sat Aug 31 23:33:07 2002
@@ -18,7 +18,6 @@
#include <asm/dma.h>
#include <asm/io.h>
#include <asm/param.h>
-#include <linux/ptrace.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/ioport.h>