void-packages/srcpkgs/qt5/patches/0018-musl-timeval.patch

11 lines
455 B
Diff

--- a/qtserialbus/src/plugins/canbus/socketcan/socketcanbackend.h 2017-11-22 09:57:45.000000000 +0100
+++ b/qtserialbus/src/plugins/canbus/socketcan/socketcanbackend.h 2018-01-27 19:17:31.333759690 +0100
@@ -47,6 +47,7 @@
// The order of the following includes is mandatory, because some
// distributions use sa_family_t in can.h without including socket.h
+#include <sys/time.h>
#include <sys/socket.h>
#include <sys/uio.h>
#include <linux/can.h>