summaryrefslogtreecommitdiffstats
path: root/aclk/aclk_util.h
diff options
context:
space:
mode:
authorTimotej S <6674623+underhood@users.noreply.github.com>2021-09-29 17:53:53 +0200
committerGitHub <noreply@github.com>2021-09-29 17:53:53 +0200
commitdad48421a6b3482f9cb71973885cf1160408855f (patch)
treecc66313a014c333e8baa09d3e34f46c98e4ce96b /aclk/aclk_util.h
parent8d0a2384412882cf9b641f17cf4e0602db4cce4d (diff)
Makes New Cloud architecture optional for ACLK-NG (#11587)
ACLK-NG supports both new and old cloud protocol. Protobuf and C++ compiler are required only for new cloud protocol. There is no reason to skip building whole ACLK-NG when protobuf is missing.
Diffstat (limited to 'aclk/aclk_util.h')
-rw-r--r--aclk/aclk_util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/aclk/aclk_util.h b/aclk/aclk_util.h
index 3b5e7d7451..deb01213ec 100644
--- a/aclk/aclk_util.h
+++ b/aclk/aclk_util.h
@@ -5,6 +5,12 @@
#include "libnetdata/libnetdata.h"
#include "mqtt_wss_client.h"
+// CentOS 7 has older version that doesn't define this
+// same goes for MacOS
+#ifndef UUID_STR_LEN
+#define UUID_STR_LEN 37
+#endif
+
// Helper stuff which should not have any further inside ACLK dependency
// and are supposed not to be needed outside of ACLK