summaryrefslogtreecommitdiffstats
path: root/aclk/aclk_util.h
diff options
context:
space:
mode:
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