Hi,
I've found some problem while building bluez-utils for uclibc due to
missing
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 ?
Thanks,
Carmelo
Index: libc/sysdeps/linux/common/bits/errno.h
===================================================================
--- libc/sysdeps/linux/common/bits/errno.h (revision 22288)
+++ libc/sysdeps/linux/common/bits/errno.h (working copy)
@@ -22,7 +22,7 @@
# undef EDOM
# undef EILSEQ
# undef ERANGE
-# include <bits/errno_values.h>
+# include <linux/errno.h>
/* Linux has no ENOTSUP error code. */
# define ENOTSUP EOPNOTSUPP
_______________________________________________
uClibc mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/uclibc