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"