1b87dded15
real prototype. Add DragonFly.
21 lines
524 B
Text
21 lines
524 B
Text
$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;
|