Build fixes.

This commit is contained in:
Roger A. Light 2018-04-23 23:56:39 +01:00
parent 79a7b36d20
commit 62d99ecbc2
2 changed files with 3 additions and 0 deletions

View File

@ -28,4 +28,5 @@
#define uthash_malloc(sz) mosquitto__malloc(sz)
#define uthash_free(ptr,sz) mosquitto__free(ptr)
#define _BSD_SOURCE
#define _POSIX_C_SOURCE 200809L

View File

@ -29,6 +29,8 @@ POSSIBILITY OF SUCH DAMAGE.
#ifdef WITH_WEBSOCKETS
#include "config.h"
#include <libwebsockets.h>
#include "mosquitto_internal.h"
#include "mosquitto_broker_internal.h"