summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2005-04-02 12:33:28 +0000
committerDavid Schultz <das@FreeBSD.org>2005-04-02 12:33:28 +0000
commit5e9b87a863dbc8ccb86d084c4aabaa3a750ee4ac (patch)
tree208a6110ab088149f5621257ae5fdd5eac21aba8 /sys
parent6d2f64c103af114a2955898821408a593fdb7fa4 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/errno.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/sys/errno.h b/sys/sys/errno.h
index 1e5a95c9b5c6..77b5f67a1734 100644
--- a/sys/sys/errno.h
+++ b/sys/sys/errno.h
@@ -166,9 +166,15 @@ __END_DECLS
#define ENOATTR 87 /* Attribute not found */
#define EDOOFUS 88 /* Programming error */
+#endif /* _POSIX_SOURCE */
-#define ELAST 88 /* Must be equal largest errno */
+#define EBADMSG 89 /* Bad message */
+#define EMULTIHOP 90 /* Multihop attempted */
+#define ENOLINK 91 /* Link has been severed */
+#define EPROTO 92 /* Protocol error */
+#ifndef _POSIX_SOURCE
+#define ELAST 92 /* Must be equal largest errno */
#endif /* _POSIX_SOURCE */
#ifdef _KERNEL