summaryrefslogtreecommitdiff
path: root/net/socks4/patches/patch-ah
blob: 359f9f086e1bbd76602286f1d6565a443ab2edfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ah,v 1.1 2005/12/27 13:48:56 joerg Exp $

--- lib/Rconnect.c.orig	2005-12-18 19:23:30.000000000 +0000
+++ lib/Rconnect.c
@@ -2,7 +2,7 @@
 #include <sys/time.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
-#include <sys/errno.h>
+#include <errno.h>
 #if defined(ISC)
 #include <net/errno.h>
 #endif /* #if defined(ISC) */
@@ -40,7 +40,6 @@ char *socks_serverlist;
 
 char socks_cmd[] = "connect";
 
-extern int 	errno;
 extern char	*getenv();
 extern char	*getlogin();
 static struct sockaddr_in	cursin;