diff options
author | Timotej S <6674623+underhood@users.noreply.github.com> | 2020-12-03 11:01:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 11:01:43 +0100 |
commit | 551fc3237a665f47e83058aa307b672f3221f2e1 (patch) | |
tree | 47636bd16707e647169d7f7f5f33e9c0837a32ff /aclk | |
parent | bb1626ffb14ab22f3118d9852b5444be98918c21 (diff) |
fix UUID_STR_LEN undefined on MacOS (#10313)
Diffstat (limited to 'aclk')
-rw-r--r-- | aclk/aclk_rx_msgs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/aclk/aclk_rx_msgs.c b/aclk/aclk_rx_msgs.c index 73c1f8673f..99fa9d9870 100644 --- a/aclk/aclk_rx_msgs.c +++ b/aclk/aclk_rx_msgs.c @@ -5,6 +5,10 @@ #include "aclk_stats.h" #include "aclk_query.h" +#ifndef UUID_STR_LEN +#define UUID_STR_LEN 37 +#endif + static inline int aclk_extract_v2_data(char *payload, char **data) { char* ptr = strstr(payload, ACLK_V2_PAYLOAD_SEPARATOR); |