From acf478eca2d13c38a60979559e2f3cc3672e0a61 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Thu, 28 Feb 2019 14:26:14 +0000 Subject: [PATCH] Fix broken mosquitto_passwd on FreeBSD. Closes #1032. Thanks to jkoopman, Joseph Benden and Ari Suutari. Bug: https://github.com/eclipse/mosquitto/issues/1032 --- ChangeLog.txt | 1 + src/mosquitto_passwd.c | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog.txt b/ChangeLog.txt index 41038381..0d18bd1f 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -8,6 +8,7 @@ Broker: - Make error messages for missing config file clearer. - Fix some Coverity Scan reported errors that could occur when the broker was already failing to start. +- Fix broken mosquitto_passwd on FreeBSD. Closes #1032. Library: - Use higher resolution timer for random initialisation of client id diff --git a/src/mosquitto_passwd.c b/src/mosquitto_passwd.c index c9d5cbe8..c2724697 100644 --- a/src/mosquitto_passwd.c +++ b/src/mosquitto_passwd.c @@ -17,6 +17,7 @@ Contributors: #include "config.h" #include +#include #include #include #include