summaryrefslogtreecommitdiffstats
path: root/database
diff options
context:
space:
mode:
authorTimotej S <6674623+underhood@users.noreply.github.com>2021-03-16 12:38:16 +0100
committerGitHub <noreply@github.com>2021-03-16 12:38:16 +0100
commite7e5d0c37242d8457e4b2610a95effe0db5ca1b1 (patch)
tree133ea3a9c7d4d5403cc0e4dd4b43717102efabe1 /database
parent2d2f249fd7cac711adc3b3ac204c83905ac631ad (diff)
Adds ACLK-NG as fallback(#10315)
* adds a new implementation of ACLK written almost from scratch * external dependencies only OpenSSL and JSON-C * fallback for systems where ACLK Legacy can't build (for technical or philosophical reasons) * can be forced to build by giving "--aclk-ng" to the installer
Diffstat (limited to 'database')
-rw-r--r--database/rrd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/database/rrd.h b/database/rrd.h
index 447b62fde9..e1d8b7b838 100644
--- a/database/rrd.h
+++ b/database/rrd.h
@@ -34,7 +34,12 @@ struct pg_cache_page_index;
#include "rrdcalc.h"
#include "rrdcalctemplate.h"
#include "../streaming/rrdpush.h"
+
+#ifndef ACLK_NG
#include "../aclk/legacy/aclk_rrdhost_state.h"
+#else
+#include "aclk/aclk.h"
+#endif
struct context_param {
RRDDIM *rd;