aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sh/zcatfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sh/zcatfd.c')
-rw-r--r--lib/sh/zcatfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sh/zcatfd.c b/lib/sh/zcatfd.c
index bdbcd91..5c7bdc4 100644
--- a/lib/sh/zcatfd.c
+++ b/lib/sh/zcatfd.c
@@ -31,7 +31,7 @@
#include <stdc.h>
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif
extern ssize_t zread __P((int, char *, size_t));