From 86e62f5347b51538b9e68dccd7ec31f9a1fe2dd3 Mon Sep 17 00:00:00 2001 From: Eric Heien Date: Wed, 26 Feb 2003 01:04:42 +0000 Subject: [PATCH] bug fixes svn path=/trunk/boinc/; revision=974 --- client/cs_scheduler.C | 2 +- client/net_stats.C | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client/cs_scheduler.C b/client/cs_scheduler.C index 68a473914d..f9f0199eba 100644 --- a/client/cs_scheduler.C +++ b/client/cs_scheduler.C @@ -67,7 +67,7 @@ double CLIENT_STATE::current_work_buf_days() { double CLIENT_STATE::work_needed_secs() { double x = current_work_buf_days(); if (x > global_prefs.work_buf_max_days) return 0; - return (global_prefs.work_buf_max_days - x)*SECONDS_IN_DAY; + return (global_prefs.work_buf_max_days - x)*SECONDS_PER_DAY; } // update exponentially-averaged CPU times of all projects diff --git a/client/net_stats.C b/client/net_stats.C index 42bfa40901..2fe53d6ac7 100644 --- a/client/net_stats.C +++ b/client/net_stats.C @@ -26,6 +26,8 @@ #include +#include "windows_cpp.h" + #include "math.h" #include "parse.h" #include "time.h"