summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorvkalintiris <vasilis@netdata.cloud>2024-05-16 12:54:25 +0300
committerGitHub <noreply@github.com>2024-05-16 12:54:25 +0300
commitcef988ef2ea8068558b6fb7d6e195f49518eac56 (patch)
tree80ca1b105bb1d273bb19802d9891ed552b5e8803 /src
parent9e236258a5792f967546082234c1d7f6825c8325 (diff)
Fix CentOS 7 builds for ML. (#17667)
Diffstat (limited to 'src')
-rw-r--r--src/ml/ml-private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ml/ml-private.h b/src/ml/ml-private.h
index 646a5cb17d..cfa6419efa 100644
--- a/src/ml/ml-private.h
+++ b/src/ml/ml-private.h
@@ -4,6 +4,11 @@
#define NETDATA_ML_PRIVATE_H
#include "dlib/dlib/matrix.h"
+
+// CentOS 7 shenanigans
+#include <cmath>
+using std::isfinite;
+
#include "ml/ml.h"
#include <vector>