aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sh/getcwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sh/getcwd.c')
-rw-r--r--lib/sh/getcwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sh/getcwd.c b/lib/sh/getcwd.c
index d7bd241..31e26b7 100644
--- a/lib/sh/getcwd.c
+++ b/lib/sh/getcwd.c
@@ -57,7 +57,7 @@
#include <xmalloc.h>
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif /* !errno */
#if !defined (HAVE_LSTAT)