From 5e3a3dae100002e648a437bc2f4b79dfc3da0fce Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 3 Jun 2022 16:18:16 +0900 Subject: [PATCH] webclient.h: Avoid relying on indirect inclusion Include stdint.h for uint16_t explicitly. This was necessary when I was trying to build this natively on Ubuntu. It seems some other headers happen to pull the uint16_t definition by luck on NuttX and macOS. --- include/netutils/webclient.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/netutils/webclient.h b/include/netutils/webclient.h index 33a92cb8d..c17027499 100644 --- a/include/netutils/webclient.h +++ b/include/netutils/webclient.h @@ -49,6 +49,7 @@ #include #include +#include #include /****************************************************************************