Fix missing mach/mach_time.h header on OS X.

Closes #1831. Thanks to P-Hagen.
This commit is contained in:
Roger A. Light
2020-09-22 15:08:48 +01:00
parent cec24116d8
commit 2774515456
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -1,6 +1,7 @@
Client library:
- Fix send quota being incorrecly reset on reconnect. Closes #1822.
- Don't use logging until log mutex is initialised. Closes #1819.
- Fix missing mach/mach_time.h header on OS X. Closes #1831.
1.6.12 - 2020-08-19
===================
+4
View File
@@ -24,6 +24,10 @@ Contributors:
#include <strings.h>
#endif
#if defined(__APPLE__)
# include <mach/mach_time.h>
#endif
#include "logging_mosq.h"
#include "mosquitto.h"
#include "mosquitto_internal.h"