1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

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).
This commit is contained in:
Earle F. Philhower, III 2019-11-17 20:26:03 -07:00 committed by GitHub
parent dabf4c53d4
commit b71872ccca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,10 +32,11 @@
#define WIFI_HAS_EVENT_CALLBACK #define WIFI_HAS_EVENT_CALLBACK
#ifdef __cplusplus
#include <stdlib.h> // malloc() #include <stdlib.h> // malloc()
#include <stddef.h> // size_t #include <stddef.h> // size_t
#include <stdint.h>
#ifdef __cplusplus
namespace arduino namespace arduino
{ {