I just tried to compile daemontools, ucspi-tcp etc on RedHat 9 and found that they all error in a similar way, complaining about errno.h
Apparently its caused by RedHat using glibc-2.3.1, some nice fellow has created patches for all the djb tools here
Read more here
