aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sh/netopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sh/netopen.c')
-rw-r--r--lib/sh/netopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sh/netopen.c b/lib/sh/netopen.c
index 736d413..f82aaa6 100644
--- a/lib/sh/netopen.c
+++ b/lib/sh/netopen.c
@@ -59,7 +59,7 @@
#include <xmalloc.h>
#ifndef errno
-extern int errno;
+#include <errno.h>
#endif
#if !defined (HAVE_INET_ATON)