[PATCH] update bits/errno.h to include kernel header errno.h instead of errno_values.h

Carmelo AMOROSO carmelo.amoroso at st.com
Wed Jun 11 09:00:10 UTC 2008

I've found some problem while building bluez-utils for uclibc due to 
ENOKEY errno, that is properly defined in linux/asm-generic/errno.h
that uclibc doesn't include from include/bits/errno.h.
We use instead bits/errno_values.h.

I think it should be worth to be always aligned with errno as defined by 
the kernel headers
we link against. So I suggest this patch and to remove the errno_values.h.
(note that glibc does the same)

Does it make sense for you ?

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bits_errno.patch
Url: http://lists.busybox.net/pipermail/uclibc/attachments/20080611/0252f350/attachment.diff 

More information about the uClibc mailing list