$NetBSD: patch-ad,v 1.1 2006/01/03 16:00:57 joerg Exp $

--- xjdclient.c.orig	2006-01-03 15:57:52.000000000 +0000
+++ xjdclient.c
@@ -26,6 +26,7 @@
 
 #include <stdio.h>
 #include <ctype.h>
+#include <errno.h>
 #include <string.h>
 #include <sys/types.h>
 #include <sys/socket.h>
@@ -40,7 +41,6 @@
 
 #define CVERBOSE 0
 int chk_cnt=0;
-extern int errno;
 unsigned char host[51] = {"localhost"};
 unsigned char yn[2];
 unsigned int portno = XJ_PORTNO;
