Wireshark-commits: [Wireshark-commits] master-2.2 1ad548c: androiddump: add missing sys/time.h head
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1ad548cb9969ee1ce03a0f78424440a605649a10
Submitter: Roland Knall (rknall@xxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark
Commits:
1ad548c by Baruch Siach (baruch@xxxxxxxxxx):
androiddump: add missing sys/time.h header
struct timeval requires sys/time.h. Fixes the following musl libc build error:
androiddump.c: In function 'useSndTimeout':
androiddump.c:262:18: error: variable 'socket_timeout' has initializer but incomplete type
const struct timeval socket_timeout = {
^
Change-Id: I52e204f32a012aabea2e54877e564576c072fe08
Reviewed-on: https://code.wireshark.org/review/19460
Reviewed-by: Michal Labedzki <michal.tomasz.labedzki@xxxxxxxxx>
Petri-Dish: Michal Labedzki <michal.tomasz.labedzki@xxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
(cherry picked from commit 3761ef378537f6a9e0424f7cbded7e7403ba425c)
Reviewed-on: https://code.wireshark.org/review/19472
Petri-Dish: Roland Knall <rknall@xxxxxxxxx>
Actions performed:
from 1f228dd enc (openBSD): fix flags field description
adds 1ad548c androiddump: add missing sys/time.h header
Summary of changes:
extcap/androiddump.c | 4 ++++
1 file changed, 4 insertions(+)