From: Christian Hesse Date: Fri, 09 Feb 2024 22:26:22 GMT Subject: [PATCH 1/1] imap-send: include strbuf.h Message-ID: <20240209222622.102208-1-list@eworm.de> From: Christian Hesse We had this fixed in 3307f7dde2ae8f5281d0782f7291a073c9b1cdc2, and it broke again in eea0e59ffbed6e33d171ace5be13cde9faa41639. We make liberal use of the strbuf API functions and types, but the inclusion of comes indirectly by including , which does not happen if you build with NO_CURL. This time make the include conditional... Does that prevent from loosing it again? Signed-off-by: Christian Hesse --- imap-send.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/imap-send.c b/imap-send.c index f2e1947e63..cae494c663 100644 --- a/imap-send.c +++ b/imap-send.c @@ -34,6 +34,8 @@ typedef void *SSL; #endif #ifdef USE_CURL_FOR_IMAP_SEND #include "http.h" +#else +#include "strbuf.h" #endif #if defined(USE_CURL_FOR_IMAP_SEND) -- 2.43.1