Peter van Dijk writes:
> Your errno.h is broken.. on my system, it's in /usr/include, there it includes
> /usr/include/linux/errno.h which includes /usr/include/sys/errno.h
>
> I'm starting to get used to RedHat being broken (happily running slackware here :),
> so this is not surprising to me :)
Red Hat is not broken. The individual in question broke Red Hat by shoving
kernel 2.2 in there, breaking something in the process.
P.S. Actually, linux/errno.h includes asm/errno.h, with asm being a soft
link to /usr/src/linux/include/asm, which contains the real errno.h to
match the current running kernel (which hasn't changed much, over the
lifetime of the 2.0 kernel).
#include <errno.h>
always worked for me...
--
Sam