Fix CentOS 7 builds for ML. (#17667)
vkalintiris committed
May 16, 2024 at 12:54 UTC
cef988ef2ea8068558b6fb7d6e195f49518eac56
1 file changed
+5
src/ml/ml-private.h
+5
@@ -4,6 +4,11 @@
4
#define NETDATA_ML_PRIVATE_H
5
6
#include "dlib/dlib/matrix.h"
7
+
8
+// CentOS 7 shenanigans
9
+#include <cmath>
10
+using std::isfinite;
11
+
12
#include "ml/ml.h"
13
14
#include <vector>