From ed4daff659d9225da82ea36fce634119c7a311a5 Mon Sep 17 00:00:00 2001 From: Eric J Korpela Date: Tue, 12 Feb 2013 13:25:12 -0800 Subject: [PATCH] Fix for FCGI compile problem in lib/filesys.cpp --- lib/filesys.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/filesys.cpp b/lib/filesys.cpp index 010ce353db..e781285446 100644 --- a/lib/filesys.cpp +++ b/lib/filesys.cpp @@ -834,7 +834,11 @@ int get_filesystem_info(double &total_space, double &free_space, char* path) { int retval = STATFS(path, &fs_info); if (retval) { +#ifndef _USING_FCGI_ perror("statvfs"); +#else + FCGI::perror("statvfs"); +#endif return ERR_STATFS; } #if HAVE_SYS_STATVFS_H