cmake: bump version to 3.6.3
[buildroot-gz.git] / package / iperf3 / 0002-Fix-build-using-musl-libc.patch
blobf2203605f00de7de493b75663dec4c3563ade124
1 From 1fe02385b60c9dcd8a04b8bd3ff5cff120ec35a6 Mon Sep 17 00:00:00 2001
2 From: Bernd Kuhls <bernd.kuhls@t-online.de>
3 Date: Sat, 30 Jan 2016 19:23:20 +0100
4 Subject: [PATCH 1/1] Fix build using musl libc
6 Fixes https://github.com/esnet/iperf/issues/331
8 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
9 ---
10 Patch sent upstream: https://github.com/esnet/iperf/pull/344
12 src/cjson.h | 2 ++
13 src/timer.h | 1 +
14 2 files changed, 3 insertions(+)
16 diff --git a/src/cjson.h b/src/cjson.h
17 index d4449e6..7af19a9 100644
18 --- a/src/cjson.h
19 +++ b/src/cjson.h
20 @@ -23,6 +23,8 @@
21 #ifndef cJSON__h
22 #define cJSON__h
24 +#include <stdint.h>
26 #ifdef __cplusplus
27 extern "C"
29 diff --git a/src/timer.h b/src/timer.h
30 index 0f9c5eb..9b22b7f 100644
31 --- a/src/timer.h
32 +++ b/src/timer.h
33 @@ -30,6 +30,7 @@
34 #ifndef __TIMER_H
35 #define __TIMER_H
37 +#include <stdint.h>
38 #include <sys/time.h>
40 /* TimerClientData is an opaque value that tags along with a timer. The
41 --
42 2.7.0.rc3