From 88d2208221b5128c89d65a6539c2cbcbc1fdba6e Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 24 Aug 2008 17:45:40 +0100 Subject: Now really fixing #429 by including unistd.h (which defines F_OK). --- storage_xml.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'storage_xml.c') diff --git a/storage_xml.c b/storage_xml.c index 240206f1..8b205c5a 100644 --- a/storage_xml.c +++ b/storage_xml.c @@ -30,8 +30,11 @@ #include "md5.h" #include -#if !GLIB_CHECK_VERSION(2,8,0) +#if GLIB_CHECK_VERSION(2,8,0) +#include +#else /* GLib < 2.8.0 doesn't have g_access, so just use the system access(). */ +#include #define g_access access #endif -- cgit v1.2.3