From 39d56ae02342644bb8a250481a77ede1d96399f1 Mon Sep 17 00:00:00 2001 From: Geoff Martin Date: Thu, 25 Jan 2024 17:04:08 +0000 Subject: [PATCH] fix: Enable Z_FEATURE_ATTACHMENT feature in user headers. --- include/zenoh-pico/config.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/zenoh-pico/config.h b/include/zenoh-pico/config.h index b10fa06dd..31d8ccf4b 100644 --- a/include/zenoh-pico/config.h +++ b/include/zenoh-pico/config.h @@ -232,6 +232,13 @@ #define Z_FEATURE_FRAGMENTATION 1 #endif +/** + * Enable attachments. + */ +#ifndef Z_FEATURE_ATTACHMENT +#define Z_FEATURE_ATTACHMENT 1 +#endif + /*------------------ Compile-time configuration properties ------------------*/ /** * Default length for Zenoh ID. Maximum size is 16 bytes.