From 6ac06fca943d80467ec4d9ce1557ad255698ef77 Mon Sep 17 00:00:00 2001 From: Eric J Korpela Date: Thu, 17 Jan 2013 14:34:04 -0800 Subject: [PATCH] Fixed another FCGI compile problem. --- sched/sched_files.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sched/sched_files.cpp b/sched/sched_files.cpp index b81515294d..e8cc265a63 100644 --- a/sched/sched_files.cpp +++ b/sched/sched_files.cpp @@ -29,7 +29,12 @@ std::vector file_delete_regex; int init_file_delete_regex() { char buf[256]; +#ifndef _USING_FCGI_ FILE* f = fopen("../file_delete_regex", "r"); +#else + FCGI_FILE* f = FCGI::fopen("../file_delete_regex", "r"); +#endif + if (!f) return 0; while (fgets(buf, sizeof(buf), f)) { strip_whitespace(buf);