aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sh/oslib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sh/oslib.c')
-rw-r--r--lib/sh/oslib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sh/oslib.c b/lib/sh/oslib.c
index 65eb99d..bd48dd7 100644
--- a/lib/sh/oslib.c
+++ b/lib/sh/oslib.c
@@ -48,7 +48,7 @@
#include <shell.h>
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif /* !errno */
/* Make the functions strchr and strrchr if they do not exist. */