summaryrefslogtreecommitdiff
path: root/sysutils/radmind/patches/patch-ad
blob: ecda6316fc8274b06226b21920b606d7a305dbc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ad,v 1.1 2006/01/13 19:16:06 joerg Exp $

--- connect.c.orig	2006-01-13 19:03:13.000000000 +0000
+++ connect.c
@@ -11,6 +11,7 @@
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 #include <arpa/inet.h>
+#include <errno.h>
 #include <netdb.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -30,7 +31,6 @@
 extern void            (*logger)( char * );
 extern int              verbose;
 struct timeval          timeout = { 60, 0 };
-extern int		errno;
 extern SSL_CTX  	*ctx;
 
     static SNET *