aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sh/pathcanon.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sh/pathcanon.c')
-rw-r--r--lib/sh/pathcanon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sh/pathcanon.c b/lib/sh/pathcanon.c
index f19bd55..f9bd2d7 100644
--- a/lib/sh/pathcanon.c
+++ b/lib/sh/pathcanon.c
@@ -39,7 +39,7 @@
#include "shell.h"
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif
#if defined (__CYGWIN__)