aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sh/winsize.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sh/winsize.c')
-rw-r--r--lib/sh/winsize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sh/winsize.c b/lib/sh/winsize.c
index 64a9858..ad02075 100644
--- a/lib/sh/winsize.c
+++ b/lib/sh/winsize.c
@@ -60,7 +60,7 @@
#define input_tty() (shell_tty != -1) ? shell_tty : fileno (stderr)
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif /* !errno */
extern int shell_tty;