File fix-implicit-declarations.patch of Package xjdic

diff -ru xjdic-2.4.orig/xjdfrontend.c xjdic-2.4/xjdfrontend.c
--- xjdic-2.4.orig/xjdfrontend.c	2005-09-22 17:53:49.000000000 +0200
+++ xjdic-2.4/xjdfrontend.c	2005-09-22 18:01:41.000000000 +0200
@@ -27,6 +27,7 @@
 #include <signal.h>
 #include <errno.h>
 #include <stdint.h>
+#include <unistd.h>
 #include "xjdic.h"
 
 /*    Paul Burchard supplied a patch to provide BSD compatibility for xjdic
diff -ru xjdic-2.4.orig/xjdsa.c xjdic-2.4/xjdsa.c
--- xjdic-2.4.orig/xjdsa.c	2005-09-22 17:53:49.000000000 +0200
+++ xjdic-2.4/xjdsa.c	2005-09-22 18:05:39.000000000 +0200
@@ -40,6 +40,11 @@
 
 /* extern int TRIGGER; */
 
+/*====== prototypes=================================================*/
+int Kstrcmp(uint32_t lhs, uint32_t rhs);
+uint32_t  jindex(uint32_t xit);
+unsigned  char dbchar(uint32_t xit);
+
 void xjdserver (int type, int dic_no, int32_t index_posn, int sch_str_len, 
 		unsigned char *sch_str, int *sch_resp, int32_t *res_index, 
 		int *hit_posn, int *res_len, unsigned char *res_str,
diff -ru xjdic-2.4.orig/xjdxgen.c xjdic-2.4/xjdxgen.c
--- xjdic-2.4.orig/xjdxgen.c	2005-09-22 17:53:49.000000000 +0200
+++ xjdic-2.4/xjdxgen.c	2005-09-22 18:01:06.000000000 +0200
@@ -23,7 +23,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 #include <stdio.h>
-/*#include <stdlib.h>*/
+#include <stdlib.h>
 #include <ctype.h>
 #include <string.h>
 #include <stdint.h>