If unistd.h is included from any fs include, sound_firmware does not build because unistd will have been included without __KERNEL_SYSCALLS__ and will not be read again. Easy fix below. --- linux-2.4.34-wt1/drivers/sound/sound_firmware.c Sun Oct 22 14:16:52 2006 +++ linux-2.4.34-wt1.pcw/drivers/sound/sound_firmware.c Sat Feb 17 23:07:03 2007 @@ -1,5 +1,5 @@ -#include "os.h" #define __KERNEL_SYSCALLS__ +#include "os.h" #include #include #include