aboutsummaryrefslogtreecommitdiffstats
path: root/main/iperf3/build-fixes.patch
blob: e361a8650735f79e40c0c0dca88cc10d951e0c1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -upr iperf-3.1.5.orig/src/t_timer.c iperf-3.1.5/src/t_timer.c
--- iperf-3.1.5.orig/src/t_timer.c	2017-01-17 12:19:14.044458009 +0100
+++ iperf-3.1.5/src/t_timer.c	2017-01-17 12:19:34.674090042 +0100
@@ -28,6 +28,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <sys/time.h>
+#include <sys/types.h>
 
 #include "timer.h"
 
diff -upr iperf-3.1.5.orig/src/t_uuid.c iperf-3.1.5/src/t_uuid.c
--- iperf-3.1.5.orig/src/t_uuid.c	2017-01-17 12:20:38.013934038 +0100
+++ iperf-3.1.5/src/t_uuid.c	2017-01-17 12:20:57.200620745 +0100
@@ -28,6 +28,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sys/time.h>
+#include <sys/types.h>
 
 #include "iperf_util.h"