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