diff --git a/app/coap/coap_io.h b/app/coap/coap_io.h index 801b7328..090149c4 100644 --- a/app/coap/coap_io.h +++ b/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" diff --git a/app/include/rom.h b/app/include/rom.h index ca6227fe..ba48fcb7 100644 --- a/app/include/rom.h +++ b/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 diff --git a/app/modules/coap.c b/app/modules/coap.c index 8e1ba6c0..1d496e5f 100644 --- a/app/modules/coap.c +++ b/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" diff --git a/app/modules/mqtt.c b/app/modules/mqtt.c index 0cd2398b..6ba3f8fa 100644 --- a/app/modules/mqtt.c +++ b/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" diff --git a/app/modules/net.c b/app/modules/net.c index 4c91f44a..f0b3256c 100644 --- a/app/modules/net.c +++ b/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"