Fixed error "No such file or directory WString.h" (fixes #1381)

This commit is contained in:
Benoit Blanchon
2020-09-16 10:29:20 +02:00
parent c4ec2ba88f
commit 6a878ee444
8 changed files with 13 additions and 4 deletions

View File

@ -9,6 +9,7 @@ HEAD
* Added `DeserializationError::EmptyInput` which tells if the input was empty
* Added `DeserializationError::f_str()` which returns a `const __FlashStringHelper*` (issue #846)
* Fixed `JsonVariant::set((char*)0)` which returned false instead of true (issue #1368)
* Fixed error `No such file or directory #include <WString.h>` (issue #1381)
v6.16.1 (2020-08-04)
-------

View File

@ -0,0 +1,8 @@
// ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2020
// MIT License
#pragma once
#include "api/Stream.h"
#include "api/String.h"

View File

@ -4,7 +4,7 @@
#pragma once
#include <Stream.h>
#include <Arduino.h>
namespace ARDUINOJSON_NAMESPACE {

View File

@ -4,7 +4,7 @@
#pragma once
#include <WString.h>
#include <Arduino.h>
namespace ARDUINOJSON_NAMESPACE {

View File

@ -4,7 +4,7 @@
#pragma once
#include <WString.h>
#include <Arduino.h>
#include <ArduinoJson/Polyfills/safe_strcmp.hpp>
#include <ArduinoJson/Strings/IsString.hpp>

View File

@ -8,7 +8,7 @@
#include <ArduinoJson/Polyfills/type_traits.hpp>
#if ARDUINOJSON_ENABLE_ARDUINO_STRING
#include <WString.h>
#include <Arduino.h>
#endif
#if ARDUINOJSON_ENABLE_STD_STRING