1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-14 19:39:47 +00:00

Fix build with older microhttpd

This commit is contained in:
François Revol 2020-10-04 00:03:31 +02:00 committed by Brenden Matthews
parent be3a29a33e
commit 7de6ec0669

View File

@ -317,6 +317,10 @@ static conky::simple_config_setting<std::string> append_file("append_file",
static FILE *append_fpointer = nullptr;
#ifdef BUILD_HTTP
#ifdef MHD_YES
/* older API */
#define MHD_Result int
#endif /* MHD_YES */
std::string webpage;
struct MHD_Daemon *httpd;
static conky::simple_config_setting<bool> http_refresh("http_refresh", false,