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:
parent
be3a29a33e
commit
7de6ec0669
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user