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