Skip to content

Commit

Permalink
Fix build on Mac Big Sur.
Browse files Browse the repository at this point in the history
Closes #1905. Thanks to Taavi Talvik.
  • Loading branch information
ralight committed Nov 18, 2020
1 parent 2a2cb03 commit 63b84bd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.txt
Expand Up @@ -5,6 +5,9 @@ Broker:
username. Closes #1891.
- Fix file logging on Windows. Closes #1880.

Client library:
- Fix build on Mac Big Sur. Closes #1905.


1.6.12 - 2020-08-19
===================
Expand Down
4 changes: 4 additions & 0 deletions lib/mosquitto.c
Expand Up @@ -24,6 +24,10 @@ and the Eclipse Distribution License is available at
#include <strings.h>
#endif

#if defined(__APPLE__)
# include <mach/mach_time.h>
#endif

#include "logging_mosq.h"
#include "mosquitto.h"
#include "mosquitto_internal.h"
Expand Down

0 comments on commit 63b84bd

Please sign in to comment.