summaryrefslogtreecommitdiff
path: root/misc/xjdic/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'misc/xjdic/patches/patch-ad')
-rw-r--r--misc/xjdic/patches/patch-ad20
1 files changed, 20 insertions, 0 deletions
diff --git a/misc/xjdic/patches/patch-ad b/misc/xjdic/patches/patch-ad
new file mode 100644
index 00000000000..53881c499b7
--- /dev/null
+++ b/misc/xjdic/patches/patch-ad
@@ -0,0 +1,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;