Fix for FCGI compile problem in lib/filesys.cpp

This commit is contained in:
Eric J Korpela 2013-02-12 13:25:12 -08:00 committed by Oliver Bock
parent ff53e509cf
commit ed4daff659
1 changed files with 4 additions and 0 deletions

View File

@ -834,7 +834,11 @@ int get_filesystem_info(double &total_space, double &free_space, char* path) {
int retval = STATFS(path, &fs_info); int retval = STATFS(path, &fs_info);
if (retval) { if (retval) {
#ifndef _USING_FCGI_
perror("statvfs"); perror("statvfs");
#else
FCGI::perror("statvfs");
#endif
return ERR_STATFS; return ERR_STATFS;
} }
#if HAVE_SYS_STATVFS_H #if HAVE_SYS_STATVFS_H