pkgsrc/net/freewais-sf/patches/patch-az

16 lines
400 B
Text

$NetBSD: patch-az,v 1.2 2005/12/27 14:00:53 joerg Exp $
--- lib/ir/sockets.c.orig 1999-04-16 09:59:35.000000000 +0000
+++ lib/ir/sockets.c
@@ -70,9 +70,10 @@ close_connection_to_server (file)
#include "panic.h"
#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];