File libxdg-basedir-fixes.patch of Package libxdg-basedir

--- tests/testquery.c.orig	2010-07-05 02:19:17.000000000 +0200
+++ tests/testquery.c	2010-07-05 02:19:51.000000000 +0200
@@ -27,12 +27,14 @@
 #include <string.h>
 #include <basedir.h>
 
+void
 printAndFreeString(const char *string)
 {
 	printf("%s\n", string);
 	free((char*)string);
 }
 
+void
 printAndFreeStringList(const char * const *strings)
 {
 	const char * const *item;
--- src/basedir.c.orig	2010-07-05 02:19:56.000000000 +0200
+++ src/basedir.c	2010-07-05 02:21:03.000000000 +0200
@@ -44,6 +44,9 @@
 
 #include <errno.h>
 
+#include <sys/stat.h>
+#include <sys/types.h>
+
 #ifdef FALSE
 #undef FALSE
 #endif
openSUSE Build Service is sponsored by