summaryrefslogtreecommitdiff
path: root/misc/xjdic/patches/patch-ad
blob: 53881c499b74f6a8537cd5c27fa8596faa81a2a3 (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/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;