aboutsummaryrefslogtreecommitdiffstats
path: root/main/iperf3/1fe02385b60c9dcd8a04b8bd3ff5cff120ec35a6.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/iperf3/1fe02385b60c9dcd8a04b8bd3ff5cff120ec35a6.patch')
-rw-r--r--main/iperf3/1fe02385b60c9dcd8a04b8bd3ff5cff120ec35a6.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/main/iperf3/1fe02385b60c9dcd8a04b8bd3ff5cff120ec35a6.patch b/main/iperf3/1fe02385b60c9dcd8a04b8bd3ff5cff120ec35a6.patch
new file mode 100644
index 0000000000..4d53c4bd92
--- /dev/null
+++ b/main/iperf3/1fe02385b60c9dcd8a04b8bd3ff5cff120ec35a6.patch
@@ -0,0 +1,36 @@
+From 1fe02385b60c9dcd8a04b8bd3ff5cff120ec35a6 Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <bernd.kuhls@t-online.de>
+Date: Sat, 30 Jan 2016 19:23:20 +0100
+Subject: [PATCH] Fix build using musl libc
+
+Fixes https://github.com/esnet/iperf/issues/331
+---
+ src/cjson.h | 2 ++
+ src/timer.h | 1 +
+ 2 files changed, 3 insertions(+)
+
+diff --git a/src/cjson.h b/src/cjson.h
+index d4449e6..7af19a9 100644
+--- a/src/cjson.h
++++ b/src/cjson.h
+@@ -23,6 +23,8 @@
+ #ifndef cJSON__h
+ #define cJSON__h
+
++#include <stdint.h>
++
+ #ifdef __cplusplus
+ extern "C"
+ {
+diff --git a/src/timer.h b/src/timer.h
+index 0f9c5eb..9b22b7f 100644
+--- a/src/timer.h
++++ b/src/timer.h
+@@ -30,6 +30,7 @@
+ #ifndef __TIMER_H
+ #define __TIMER_H
+
++#include <stdint.h>
+ #include <sys/time.h>
+
+ /* TimerClientData is an opaque value that tags along with a timer. The