> libc6-dev. It provides asm/unistd.h. Actually, the problem is with the kernel headers used to build libc6, which are "snashoted" at build time and put into libc6-dev package.
If you manually update your /usr/include/asm/unistd.h with the one from a 2.4.21-rc* kernel, that should fix your build problem Ben.