From 7038bf39dee7cf4228c3b99ee63c1a69c6f40de0 Mon Sep 17 00:00:00 2001 From: Matt Lebofsky Date: Sat, 3 Jul 2004 21:38:22 +0000 Subject: [PATCH] added fcgi_stdio.h added fcgi_stdio.h added fcgi_stdio.h svn path=/trunk/boinc/; revision=3773 --- sched/handle_request.C | 4 ++++ sched/sched_config.C | 4 ++++ sched/sched_msgs.C | 4 ++++ sched/sched_send.C | 4 ++++ sched/sched_shmem.C | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/sched/handle_request.C b/sched/handle_request.C index f8d33fecc6..1dca9c1e3b 100644 --- a/sched/handle_request.C +++ b/sched/handle_request.C @@ -42,6 +42,10 @@ using namespace std; #include "sched_msgs.h" #include "sched_send.h" +#ifdef _USING_FCGI_ +#include "fcgi_stdio.h" +#endif + // Look up the host and its user, and make sure the authenticator matches. // If no host ID is supplied, or if RPC seqno mismatch, // create a new host record and return its ID diff --git a/sched/sched_config.C b/sched/sched_config.C index 2fb610aaf9..b00d2bb8d0 100644 --- a/sched/sched_config.C +++ b/sched/sched_config.C @@ -28,6 +28,10 @@ #include "sched_config.h" +#ifdef _USING_FCGI_ +#include "fcgi_stdio.h" +#endif + const char* CONFIG_FILE = "config.xml"; int SCHED_CONFIG::parse(char* buf) { diff --git a/sched/sched_msgs.C b/sched/sched_msgs.C index 81eae03d69..e86bbda7ea 100644 --- a/sched/sched_msgs.C +++ b/sched/sched_msgs.C @@ -19,6 +19,10 @@ #include "sched_msgs.h" +#ifdef _USING_FCGI_ +#include "fcgi_stdio.h" +#endif + SCHED_MSG_LOG log_messages; const char* SCHED_MSG_LOG::v_format_kind(int kind) const { diff --git a/sched/sched_send.C b/sched/sched_send.C index 7b4548a648..e74db5e0f9 100644 --- a/sched/sched_send.C +++ b/sched/sched_send.C @@ -34,6 +34,10 @@ using namespace std; #include "sched_msgs.h" #include "sched_send.h" +#ifdef _USING_FCGI_ +#include "fcgi_stdio.h" +#endif + const int MIN_SECONDS_TO_SEND = 0; const int MAX_SECONDS_TO_SEND = (28*SECONDS_IN_DAY); diff --git a/sched/sched_shmem.C b/sched/sched_shmem.C index 83b45dba1e..74a92514b9 100644 --- a/sched/sched_shmem.C +++ b/sched/sched_shmem.C @@ -31,6 +31,10 @@ #include "sched_shmem.h" #include "sched_util.h" +#ifdef _USING_FCGI_ +#include "fcgi_stdio.h" +#endif + void SCHED_SHMEM::init() { memset(this, 0, sizeof(SCHED_SHMEM)); ss_size = sizeof(SCHED_SHMEM);