aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sh/eaccess.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sh/eaccess.c')
-rw-r--r--lib/sh/eaccess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sh/eaccess.c b/lib/sh/eaccess.c
index 8132a9a..ccb2f22 100644
--- a/lib/sh/eaccess.c
+++ b/lib/sh/eaccess.c
@@ -34,7 +34,7 @@
#include <errno.h>
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif /* !errno */
#if !defined (_POSIX_VERSION) && defined (HAVE_SYS_FILE_H)