$NetBSD: patch-aa,v 1.1 2006/04/22 16:49:48 joerg Exp $

--- src/netutils.c.orig	2006-04-22 16:42:46.000000000 +0000
+++ src/netutils.c
@@ -29,14 +29,13 @@
  *
  ****************************************************************************/
 
+#include <errno.h>
+
 #include "../common/common.h"
 #include "netutils.h"
 
 extern int socket_timeout;    /* this doesn't have to be used, but it is nice to know how many seconds we timed out after */
 
-extern int errno;
-
-
 /* handles socket timeouts */
 void socket_timeout_alarm_handler(int sig){
 
