summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/iperf3/iperf3/0001-include-stdint.h-for-various-std-c99-int-types.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-benchmark/iperf3/iperf3/0001-include-stdint.h-for-various-std-c99-int-types.patch')
-rw-r--r--meta-oe/recipes-benchmark/iperf3/iperf3/0001-include-stdint.h-for-various-std-c99-int-types.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3/0001-include-stdint.h-for-various-std-c99-int-types.patch b/meta-oe/recipes-benchmark/iperf3/iperf3/0001-include-stdint.h-for-various-std-c99-int-types.patch
new file mode 100644
index 000000000..ae3620800
--- /dev/null
+++ b/meta-oe/recipes-benchmark/iperf3/iperf3/0001-include-stdint.h-for-various-std-c99-int-types.patch
@@ -0,0 +1,39 @@
1From be653711fb92d2430b3ecc546b4e3ad927d19ec5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 14 Jul 2017 12:59:42 -0700
4Subject: [PATCH 1/2] include stdint.h for various std c99 int types
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8 src/cjson.h | 2 ++
9 src/timer.h | 1 +
10 2 files changed, 3 insertions(+)
11
12diff --git a/src/cjson.h b/src/cjson.h
13index fb8cd3b..69cd272 100644
14--- a/src/cjson.h
15+++ b/src/cjson.h
16@@ -23,6 +23,8 @@
17 #ifndef cJSON__h
18 #define cJSON__h
19
20+#include <stdint.h>
21+
22 #ifdef __cplusplus
23 extern "C"
24 {
25diff --git a/src/timer.h b/src/timer.h
26index 0f9c5eb..0b195be 100644
27--- a/src/timer.h
28+++ b/src/timer.h
29@@ -31,6 +31,7 @@
30 #define __TIMER_H
31
32 #include <sys/time.h>
33+#include <stdint.h>
34
35 /* TimerClientData is an opaque value that tags along with a timer. The
36 ** client can use it for whatever, and it gets passed to the callback when
37--
382.13.3
39