aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/iperf3/iperf3/0001-include-stdint.h-for-various-std-c99-int-types.patch
blob: ae362080000f57755ecb66971638ae2d27513a4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From be653711fb92d2430b3ecc546b4e3ad927d19ec5 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 14 Jul 2017 12:59:42 -0700
Subject: [PATCH 1/2] include stdint.h for various std c99 int types

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 src/cjson.h | 2 ++
 src/timer.h | 1 +
 2 files changed, 3 insertions(+)

diff --git a/src/cjson.h b/src/cjson.h
index fb8cd3b..69cd272 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..0b195be 100644
--- a/src/timer.h
+++ b/src/timer.h
@@ -31,6 +31,7 @@
 #define __TIMER_H
 
 #include <sys/time.h>
+#include <stdint.h>
 
 /* TimerClientData is an opaque value that tags along with a timer.  The
 ** client can use it for whatever, and it gets passed to the callback when
-- 
2.13.3