summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits/errno.h
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-07-02 16:26:23 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-07-02 16:26:23 +0000
commit388e096fa68a1bb6186efb653e9538e12961d442 (patch)
tree159d0348bfcfe4c40dd86fe51a97c559be222fbb /libc/sysdeps/linux/common/bits/errno.h
parent86f53c1e4b3cd5193c60c2eb89a0707bf4bce0d9 (diff)
Include errno.h from kernel headers instead of using internal errno_values.h
otherwie some errno will be missed (i.e. ENOKEY used in libusb) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/sysdeps/linux/common/bits/errno.h')
-rw-r--r--libc/sysdeps/linux/common/bits/errno.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/bits/errno.h b/libc/sysdeps/linux/common/bits/errno.h
index 78e8c6972..a5ac1a47f 100644
--- a/libc/sysdeps/linux/common/bits/errno.h
+++ b/libc/sysdeps/linux/common/bits/errno.h
@@ -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