mirror of
https://github.com/eclipse/mosquitto.git
synced 2025-05-09 01:01:11 +08:00
Fix build using WITH_TLS=no when the openssl headers aren't available.
This commit is contained in:
parent
699654b999
commit
c25229c13a
@ -1,4 +1,6 @@
|
||||
Build:
|
||||
- Fix cjson include paths.
|
||||
- Fix build using WITH_TLS=no when the openssl headers aren't available.
|
||||
|
||||
|
||||
2.0.0 - 2020-12-03
|
||||
|
@ -19,10 +19,12 @@ Contributors:
|
||||
#include "config.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <openssl/opensslv.h>
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/rand.h>
|
||||
#include <openssl/buffer.h>
|
||||
#ifdef WITH_TLS
|
||||
# include <openssl/opensslv.h>
|
||||
# include <openssl/evp.h>
|
||||
# include <openssl/rand.h>
|
||||
# include <openssl/buffer.h>
|
||||
#endif
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user