mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 10:37:55 +08:00
28 lines
609 B
Diff
28 lines
609 B
Diff
|
From af7d62dceb064b5a8458616536bc27329ad236b1 Mon Sep 17 00:00:00 2001
|
||
|
From: Nicole Mazzuca <mazzucan@outlook.com>
|
||
|
Date: Tue, 22 Sep 2020 15:46:06 -0700
|
||
|
Subject: [PATCH 5/5] add mach.h include
|
||
|
|
||
|
---
|
||
|
lib/mosquitto.c | 4 ++++
|
||
|
1 file changed, 4 insertions(+)
|
||
|
|
||
|
diff --git a/lib/mosquitto.c b/lib/mosquitto.c
|
||
|
index 795013e..cd00513 100644
|
||
|
--- a/lib/mosquitto.c
|
||
|
+++ b/lib/mosquitto.c
|
||
|
@@ -33,6 +33,10 @@ Contributors:
|
||
|
#include "packet_mosq.h"
|
||
|
#include "will_mosq.h"
|
||
|
|
||
|
+#if defined(__APPLE__)
|
||
|
+#include <mach/mach_time.h>
|
||
|
+#endif
|
||
|
+
|
||
|
|
||
|
void mosquitto__destroy(struct mosquitto *mosq);
|
||
|
|
||
|
--
|
||
|
2.24.3 (Apple Git-128)
|
||
|
|