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

14 lines
314 B
Diff

diff --git client/client_shared.h client/client_shared.h
index 18686cd..f0711f8 100644
--- client/client_shared.h
+++ 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