Skip to contentSkip to conversation

2.5.33 OSS compile fix

PATCH Nicholas Miell 1 participant 1 message Sep 1, 2002 Sound

lore
Share & tools
lore
#0 lore raw

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.

sound/oss/os.h renamed from sound/oss/os.h.~1~ +0 -1
@@ -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>