From e2e2a2bd94c48c3854e6bb7ec6928b339bd433dd Mon Sep 17 00:00:00 2001 From: Marcin Niestroj Date: Tue, 7 Jul 2020 11:46:50 +0200 Subject: [PATCH] net: http_client: add missing kernel.h include statement There is following error when compiling applications using http_client: /zephyr/include/net/http_client.h:157:24: error: field 'work' has \ incomplete type 157 | struct k_delayed_work work; | ^~~~ /zephyr/include/net/http_client.h:177:2: error: unknown type name \ 'k_timeout_t' 177 | k_timeout_t timeout; | ^~~~~~~~~~~ Fix that by adding missing kernel.h include statement in http_client.h. Signed-off-by: Marcin Niestroj --- include/net/http_client.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/net/http_client.h b/include/net/http_client.h index 7e29a415243..eaeeb39cf9f 100644 --- a/include/net/http_client.h +++ b/include/net/http_client.h @@ -20,6 +20,7 @@ * @{ */ +#include #include #include