From e4db22d9f5097b9d8a4eb9a0c57c4ad1ecd23e3a Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Tue, 23 Oct 2018 19:57:11 +0200 Subject: [PATCH] fix missing standard includes These were a problem only if arch.h does not include them. Signed-off-by: Simon Goldschmidt --- src/apps/http/altcp_proxyconnect.c | 2 ++ src/apps/http/http_client.c | 1 + 2 files changed, 3 insertions(+) diff --git a/src/apps/http/altcp_proxyconnect.c b/src/apps/http/altcp_proxyconnect.c index e3135ba9..9a0b2ba1 100644 --- a/src/apps/http/altcp_proxyconnect.c +++ b/src/apps/http/altcp_proxyconnect.c @@ -51,6 +51,8 @@ #include "lwip/mem.h" #include "lwip/init.h" +#include + /** This string is passed in the HTTP header as "User-Agent: " */ #ifndef ALTCP_PROXYCONNECT_CLIENT_AGENT #define ALTCP_PROXYCONNECT_CLIENT_AGENT "lwIP/" LWIP_VERSION_STRING " (http://savannah.nongnu.org/projects/lwip)" diff --git a/src/apps/http/http_client.c b/src/apps/http/http_client.c index 9198c89d..82da60d7 100644 --- a/src/apps/http/http_client.c +++ b/src/apps/http/http_client.c @@ -55,6 +55,7 @@ #include "lwip/init.h" #include +#include #include #if LWIP_TCP && LWIP_CALLBACK_API