From b33276bee3f0729a63d70c6332f7bf27d51bd81b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 2 Apr 2008 19:33:12 +0000 Subject: [PATCH] - compile fixes for gcc 4.x; fixes #592 svn path=/trunk/boinc/; revision=15007 --- checkin_notes | 11 +++++++++++ lib/coproc.h | 1 + sched/single_job_assimilator.C | 1 + tools/backend_lib.h | 2 ++ 4 files changed, 15 insertions(+) diff --git a/checkin_notes b/checkin_notes index 2c72c70b3d..a909e016ba 100644 --- a/checkin_notes +++ b/checkin_notes @@ -2993,6 +2993,7 @@ David April 2 2008 send if client understands app version plan class. The server checks for this instead of version > 6.11. + (suggested by Nicolas Alvarez) - clean up unix_util: .h files declare only (extern) interfaces; no reason for daemon() to be C @@ -3004,3 +3005,13 @@ David April 2 2008 sched_plan.C sched_send.C server_types.C,h + +David April 2 2008 + - compile fixes for gcc 4.x; fixes #592 + + lib/ + coproc.h + sched/ + single_job_assimilator.C + tools/ + backend_lib.h diff --git a/lib/coproc.h b/lib/coproc.h index a5d3769d80..828a279c18 100644 --- a/lib/coproc.h +++ b/lib/coproc.h @@ -21,6 +21,7 @@ #define _COPROC_ #include +#include #include "miofile.h" diff --git a/sched/single_job_assimilator.C b/sched/single_job_assimilator.C index 112d82a71b..85354233bd 100644 --- a/sched/single_job_assimilator.C +++ b/sched/single_job_assimilator.C @@ -25,6 +25,7 @@ #include #include #include +#include #include "boinc_db.h" #include "error_numbers.h" diff --git a/tools/backend_lib.h b/tools/backend_lib.h index 2b7f333f78..0bea4fbc45 100644 --- a/tools/backend_lib.h +++ b/tools/backend_lib.h @@ -20,6 +20,8 @@ #ifndef H_BACKEND_LIB #define H_BACKEND_LIB +#include + #include "crypt.h" #include "sched_config.h" #include "boinc_db.h"