diff options
| author | Samuli Piippo <samuli.piippo@qt.io> | 2017-12-14 16:39:54 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-12-16 15:51:12 +0000 |
| commit | 5ae76bbcf5b59b12a03d0f017aab9139609f16f6 (patch) | |
| tree | 8fdd5068969a476fa482fe7d6f280e1d753918eb /recipes-qt/qt5/qtserialbus/0001-Add-missing-include-for-struct-timeval.patch | |
| parent | 06d1c47396508ea50112a00e1c70c40da559aa1a (diff) | |
| download | meta-qt5-5ae76bbcf5b59b12a03d0f017aab9139609f16f6.tar.gz | |
Upgrade to Qt 5.10.0
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtserialbus/0001-Add-missing-include-for-struct-timeval.patch')
| -rw-r--r-- | recipes-qt/qt5/qtserialbus/0001-Add-missing-include-for-struct-timeval.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtserialbus/0001-Add-missing-include-for-struct-timeval.patch b/recipes-qt/qt5/qtserialbus/0001-Add-missing-include-for-struct-timeval.patch new file mode 100644 index 00000000..070c8e57 --- /dev/null +++ b/recipes-qt/qt5/qtserialbus/0001-Add-missing-include-for-struct-timeval.patch | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | From 896e90350f94654901e88f3365dd54986a6ba1fd Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
| 3 | Date: Mon, 11 Dec 2017 14:39:34 +0200 | ||
| 4 | Subject: [PATCH] Add missing include for struct timeval | ||
| 5 | |||
| 6 | Fix build failure with musl libc: | ||
| 7 | socketcanbackend.h:88:38: error: 'timeval' was not declared in this scope | ||
| 8 | |||
| 9 | Change-Id: I4089f5a906095c21b2790d35ad131d9a0713ff3b | ||
| 10 | --- | ||
| 11 | src/plugins/canbus/socketcan/socketcanbackend.h | 1 + | ||
| 12 | 1 file changed, 1 insertion(+) | ||
| 13 | |||
| 14 | diff --git a/src/plugins/canbus/socketcan/socketcanbackend.h b/src/plugins/canbus/socketcan/socketcanbackend.h | ||
| 15 | index 50976b1..b49d267 100644 | ||
| 16 | --- a/src/plugins/canbus/socketcan/socketcanbackend.h | ||
| 17 | +++ b/src/plugins/canbus/socketcan/socketcanbackend.h | ||
| 18 | @@ -50,6 +50,7 @@ | ||
| 19 | #include <sys/socket.h> | ||
| 20 | #include <sys/uio.h> | ||
| 21 | #include <linux/can.h> | ||
| 22 | +#include <sys/time.h> | ||
| 23 | |||
| 24 | QT_BEGIN_NAMESPACE | ||
| 25 | |||
