Browse Source

Updated #includes to work on new SDK.

Both "c_types.h" and "lwip/ip_addr.h" don't get included indirectly anymore.
Johny Mattsson 8 years ago
parent
commit
3b9a42e254
5 changed files with 7 additions and 0 deletions
  1. 2 0
      app/coap/coap_io.h
  2. 2 0
      app/include/rom.h
  3. 1 0
      app/modules/coap.c
  4. 1 0
      app/modules/mqtt.c
  5. 1 0
      app/modules/net.c

+ 2 - 0
app/coap/coap_io.h

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

+ 2 - 0
app/include/rom.h

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

+ 1 - 0
app/modules/coap.c

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

+ 1 - 0
app/modules/mqtt.c

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

+ 1 - 0
app/modules/net.c

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