goldencheetah/goldencheetah-3.5.20200614git-gcc-11.patch

13 lines
305 B
Diff
Raw Permalink Normal View History

diff --git a/src/Metrics/BlinnSolver.cpp b/src/Metrics/BlinnSolver.cpp
index 59f5e5b..b424d46 100644
--- a/src/Metrics/BlinnSolver.cpp
+++ b/src/Metrics/BlinnSolver.cpp
@@ -18,6 +18,7 @@
#include <cmath>
#include <algorithm>
+#include <limits>
#include "BlinnSolver.h"
int GetExponent(double a) {