void-packages/srcpkgs/mosquitto/patches/fix-musl.patch

14 lines
318 B
Diff

diff --git client/client_shared.h client/client_shared.h
index 18686cd..f0711f8 100644
--- a/client/client_shared.h
+++ b/client/client_shared.h
@@ -18,6 +18,7 @@ Contributors:
#define CLIENT_CONFIG_H
#include <stdio.h>
+#include <sys/time.h> /* for timeval */
/* pub_client.c modes */
#define MSGMODE_NONE 0