From 971404ff9021c8a24f968a88a4a019e1fdfdee50 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Wed, 7 Mar 2018 15:24:14 +0800 Subject: [PATCH] http_client.h: Include lwip/pbuf.h struct pbuf is used by httpc_headers_done_fn, thus need to include lwip/pbuf.h. Signed-off-by: Axel Lin --- src/include/lwip/apps/http_client.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/lwip/apps/http_client.h b/src/include/lwip/apps/http_client.h index 3071d185..5310457c 100644 --- a/src/include/lwip/apps/http_client.h +++ b/src/include/lwip/apps/http_client.h @@ -43,6 +43,7 @@ #include "lwip/err.h" #include "lwip/altcp.h" #include "lwip/prot/iana.h" +#include "lwip/pbuf.h" #ifdef __cplusplus extern "C" {