File fix-implicit-declarations.patch of Package xyaku

diff -ru xyaku-1.3.0.orig/src/glib-1.2.8/ghash.c xyaku-1.3.0/src/glib-1.2.8/ghash.c
--- xyaku-1.3.0.orig/src/glib-1.2.8/ghash.c	2000-09-01 20:44:24.000000000 +0200
+++ xyaku-1.3.0/src/glib-1.2.8/ghash.c	2005-09-23 07:54:36.000000000 +0200
@@ -40,6 +40,9 @@
  *  Replaced TRUE and FALSE with 1 and 0.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <stdlib.h>
 #if defined(HAVE_STRING_H)
 #include <string.h>
diff -ru xyaku-1.3.0.orig/src/main.c xyaku-1.3.0/src/main.c
--- xyaku-1.3.0.orig/src/main.c	2000-09-02 07:35:18.000000000 +0200
+++ xyaku-1.3.0/src/main.c	2005-09-23 07:56:37.000000000 +0200
@@ -9,6 +9,7 @@
 #include "config.h"
 #endif
 #include <stdio.h>
+#include <stdlib.h>
 #include <locale.h>
 #include <ctype.h>
 #include <signal.h>
openSUSE Build Service is sponsored by