summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/bits/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/i386/bits/errno.h')
-rw-r--r--libc/sysdeps/linux/i386/bits/errno.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/i386/bits/errno.h b/libc/sysdeps/linux/i386/bits/errno.h
index 35bd61109..992358eb7 100644
--- a/libc/sysdeps/linux/i386/bits/errno.h
+++ b/libc/sysdeps/linux/i386/bits/errno.h
@@ -24,6 +24,8 @@
# undef ERANGE
# include <linux/errno.h>
+__BEGIN_DECLS
+
/* Linux has no ENOTSUP error code. */
# define ENOTSUP EOPNOTSUPP
@@ -50,6 +52,8 @@ extern int *__errno_location __P ((void)) __attribute__ ((__const__));
# endif /* !__ASSEMBLER__ */
#endif /* _ERRNO_H */
+__END_DECLS
+
#if !defined _ERRNO_H && defined __need_Emath
/* This is ugly but the kernel header is not clean enough. We must
define only the values EDOM and ERANGE in case __need_Emath is