summaryrefslogtreecommitdiff
path: root/include/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/errno.h')
-rw-r--r--include/errno.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/errno.h b/include/errno.h
index da7f7a0e4..aa7e6bcae 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -4,6 +4,8 @@
#include <features.h>
#include <bits/errno.h>
+__BEGIN_DECLS
+
extern int sys_nerr;
extern const char *const sys_errlist[];
@@ -16,5 +18,6 @@ extern int errno;
extern void perror __P ((__const char* __s));
extern char* strerror __P ((int __errno));
+__END_DECLS
#endif