Updated #includes to work on new SDK.

Both "c_types.h" and "lwip/ip_addr.h" don't get included indirectly anymore.
This commit is contained in:
Johny Mattsson 2015-10-01 15:17:16 +10:00
parent cc220d9201
commit 3b9a42e254
5 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,8 @@
extern "C" { extern "C" {
#endif #endif
#include "c_types.h"
#include "lwip/ip_addr.h"
#include "espconn.h" #include "espconn.h"
#include "pdu.h" #include "pdu.h"
#include "hash.h" #include "hash.h"

View File

@ -3,6 +3,8 @@
#ifndef _ROM_H_ #ifndef _ROM_H_
#define _ROM_H_ #define _ROM_H_
#include "c_types.h"
// SHA1 is assumed to match the netbsd sha1.h headers // SHA1 is assumed to match the netbsd sha1.h headers
#define SHA1_DIGEST_LENGTH 20 #define SHA1_DIGEST_LENGTH 20
#define SHA1_DIGEST_STRING_LENGTH 41 #define SHA1_DIGEST_STRING_LENGTH 41

View File

@ -12,6 +12,7 @@
#include "c_types.h" #include "c_types.h"
#include "mem.h" #include "mem.h"
#include "lwip/ip_addr.h"
#include "espconn.h" #include "espconn.h"
#include "driver/uart.h" #include "driver/uart.h"

View File

@ -12,6 +12,7 @@
#include "c_types.h" #include "c_types.h"
#include "mem.h" #include "mem.h"
#include "lwip/ip_addr.h"
#include "espconn.h" #include "espconn.h"
#include "mqtt_msg.h" #include "mqtt_msg.h"

View File

@ -12,6 +12,7 @@
#include "c_types.h" #include "c_types.h"
#include "mem.h" #include "mem.h"
#include "lwip/ip_addr.h"
#include "espconn.h" #include "espconn.h"
#include "lwip/dns.h" #include "lwip/dns.h"