summaryrefslogtreecommitdiff
path: root/net/freewais-sf/patches/patch-az
diff options
context:
space:
mode:
Diffstat (limited to 'net/freewais-sf/patches/patch-az')
-rw-r--r--net/freewais-sf/patches/patch-az15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/freewais-sf/patches/patch-az b/net/freewais-sf/patches/patch-az
new file mode 100644
index 00000000000..211580d5e91
--- /dev/null
+++ b/net/freewais-sf/patches/patch-az
@@ -0,0 +1,15 @@
+$NetBSD: patch-az,v 1.1 2004/03/09 11:24:04 seb Exp $
+
+--- lib/ir/sockets.c.orig 1999-04-16 09:59:35.000000000 +0000
++++ lib/ir/sockets.c
+@@ -71,8 +71,10 @@ close_connection_to_server (file)
+
+ #ifdef HAS_SYS_ERRLIST
+ extern int errno;
++#if !(defined(BSD) && BSD >= 199306)
+ extern int sys_nerr;
+ #endif
++#endif
+
+ char host_name[255], host_address[255];
+