diff options
author | thiagoftsm <49162938+thiagoftsm@users.noreply.github.com> | 2019-06-03 19:25:09 +0000 |
---|---|---|
committer | Paul Emm. Katsoulakis <34388743+paulkatsoulakis@users.noreply.github.com> | 2019-06-03 22:25:09 +0300 |
commit | 5182677831814289d27afb0b48043ab63f2b6d1b (patch) | |
tree | f661f5f809870fe07692ca3569d3e2d5e8b7264a /libnetdata/libnetdata.h | |
parent | 2a48134cda5975f790d31cea29dae732bef3d7df (diff) |
netdata/daemon: SSL fix - broken compilation case when ssl library not present! (#6201)
* SSL_fix fix the compilation case the library is not present!
Diffstat (limited to 'libnetdata/libnetdata.h')
-rw-r--r-- | libnetdata/libnetdata.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libnetdata/libnetdata.h b/libnetdata/libnetdata.h index eaedfe7036..41642efd25 100644 --- a/libnetdata/libnetdata.h +++ b/libnetdata/libnetdata.h @@ -298,7 +298,9 @@ extern char *netdata_configured_host_prefix; #include "clocks/clocks.h" #include "popen/popen.h" #include "simple_pattern/simple_pattern.h" -#include "socket/security.h" +#ifdef ENABLE_HTTPS +# include "socket/security.h" +#endif #include "socket/socket.h" #include "config/appconfig.h" #include "log/log.h" |