aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sh/strerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sh/strerror.c')
-rw-r--r--lib/sh/strerror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sh/strerror.c b/lib/sh/strerror.c
index bf63926..e2b75b3 100644
--- a/lib/sh/strerror.c
+++ b/lib/sh/strerror.c
@@ -37,7 +37,7 @@
#include <shell.h>
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif /* !errno */
/* Return a string corresponding to the error number E. From