python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / wireshark / 0002-androiddump-add-missing-sys-time.h-header.patch
blobae1198018a729f4eabe2f7832497b2e461e184d1
1 From 1ab938e762ee6ebd3211c22ef25a7575e37791c4 Mon Sep 17 00:00:00 2001
2 From: Baruch Siach <baruch@tkos.co.il>
3 Date: Thu, 29 Dec 2016 20:16:53 +0200
4 Subject: [PATCH] androiddump: add missing sys/time.h header
6 struct timeval requires sys/time.h. Fixes the following musl libc build error:
8 androiddump.c: In function 'useSndTimeout':
9 androiddump.c:262:18: error: variable 'socket_timeout' has initializer but incomplete type
10 const struct timeval socket_timeout = {
13 Change-Id: I52e204f32a012aabea2e54877e564576c072fe08
14 Signed-off-by: Baruch Siach <baruch@tkos.co.il>
15 ---
16 Upstream status: https://code.wireshark.org/review/19460
17 ---
18 extcap/androiddump.c | 1 +
19 1 file changed, 1 insertion(+)
21 diff --git a/extcap/androiddump.c b/extcap/androiddump.c
22 index 8287c4bb1a76..fab7c10e05cc 100644
23 --- a/extcap/androiddump.c
24 +++ b/extcap/androiddump.c
25 @@ -30,6 +30,7 @@
26 #include <string.h>
27 #include <errno.h>
28 #include <time.h>
29 +#include <sys/time.h>
31 #ifdef HAVE_NETINET_IN_H
32 # include <netinet/in.h>
33 --
34 2.11.0