From 1f19ff35d3a5c1fb2db580ee3238f0cbdf4faab5 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 10 Apr 2023 20:13:09 -0700 Subject: [PATCH] mac build fix --- lib/parse.h | 4 +++- lib/util.h | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/parse.h b/lib/parse.h index cc2769ff9b..e5f2601434 100644 --- a/lib/parse.h +++ b/lib/parse.h @@ -26,7 +26,9 @@ #include "miofile.h" #include "error_numbers.h" #include "str_util.h" -#include "util.h" + +extern bool boinc_is_finite(double); + // avoid including util.h (kludge) // see parse_test.cpp for example usage of XML_PARSER diff --git a/lib/util.h b/lib/util.h index f209569cc9..1707367d71 100644 --- a/lib/util.h +++ b/lib/util.h @@ -43,7 +43,6 @@ static inline double drand() { return (double)rand()/(double)RAND_MAX; } extern double rand_normal(); -extern bool boinc_is_finite(double); extern void update_average(double, double, double, double, double&, double&);