From b71872ccca14c410a19371ed6a4838dbaa67e62b Mon Sep 17 00:00:00 2001 From: "Earle F. Philhower, III" Date: Sun, 17 Nov 2019 20:26:03 -0700 Subject: [PATCH] Add stdint, move headers up in core_features.h (#6793) Fixes #6791 which I think only happened when the file was included from a .C file (due to the headers being included only ifdef __cplusplus). --- cores/esp8266/core_esp8266_features.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cores/esp8266/core_esp8266_features.h b/cores/esp8266/core_esp8266_features.h index dc1a47705..d3b70f3dc 100644 --- a/cores/esp8266/core_esp8266_features.h +++ b/cores/esp8266/core_esp8266_features.h @@ -32,10 +32,11 @@ #define WIFI_HAS_EVENT_CALLBACK -#ifdef __cplusplus - #include // malloc() #include // size_t +#include + +#ifdef __cplusplus namespace arduino {