From 8aec448adf49aed2d23419520e0d18428d6bf1ee Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Wed, 12 Jul 2023 09:59:29 +0200 Subject: [PATCH] Add missing declaration of `offsetof()` --- src/ArduinoJson/Memory/StringNode.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ArduinoJson/Memory/StringNode.hpp b/src/ArduinoJson/Memory/StringNode.hpp index 3f020d97..06dcba09 100644 --- a/src/ArduinoJson/Memory/StringNode.hpp +++ b/src/ArduinoJson/Memory/StringNode.hpp @@ -8,6 +8,7 @@ #include #include +#include // offsetof #include // uint16_t ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE