mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-16 00:43:00 +03:00
Add missing time.h include, use relative include path on time.h includes (#6730)
* Add missing time.h include * Change other includes of time.h as well * Added comment
This commit is contained in:
committed by
Develo
parent
1ec3683ca0
commit
3b1ad418b3
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
|
#include <../include/time.h> // See issue #6714
|
||||||
|
|
||||||
class SDClass;
|
class SDClass;
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#define HardwareSerial_h
|
#define HardwareSerial_h
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <time.h>
|
#include <../include/time.h> // See issue #6714
|
||||||
#include "Stream.h"
|
#include "Stream.h"
|
||||||
#include "uart.h"
|
#include "uart.h"
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <time.h>
|
#include <../include/time.h> // See issue #6714
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <time.h>
|
#include <../include/time.h> // See issue #6714
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <sys/reent.h>
|
#include <sys/reent.h>
|
||||||
#include "sntp.h"
|
#include "sntp.h"
|
||||||
|
Reference in New Issue
Block a user