diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-05-21 22:00:39 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-25 23:59:32 +0100 |
commit | 57527e449bbd1faf455029f9e4d471d2cd848583 (patch) | |
tree | dfaaeff7cbd2735b814b79dc34d247e284cdf48e /meta/recipes-connectivity/iproute2/iproute2 | |
parent | 13f1672157b9ca7b9f07519950394b4be85be89d (diff) | |
download | poky-57527e449bbd1faf455029f9e4d471d2cd848583.tar.gz |
iproute2: Fix build error due to missing stdint.h> include
(From OE-Core rev: 39481b72644d2779bb681bb2dba8db5ba1a3d18d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/iproute2/iproute2')
-rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch b/meta/recipes-connectivity/iproute2/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch new file mode 100644 index 0000000000..eb0c0abbab --- /dev/null +++ b/meta/recipes-connectivity/iproute2/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 3c885d87befc706bb923933b9819de6fe2de897e Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 20 May 2017 14:03:19 -0700 | ||
4 | Subject: [PATCH] include stdint.h explicitly for UINT16_MAX) | ||
5 | |||
6 | Fixes | ||
7 | | tc_core.c:190:29: error: 'UINT16_MAX' undeclared (first use in this function); did you mean '__INT16_MAX__'? | ||
8 | | if ((sz >> s->size_log) > UINT16_MAX) { | ||
9 | | ^~~~~~~~~~ | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | Upstream-Status: Pending | ||
14 | |||
15 | tc/tc_core.c | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | diff --git a/tc/tc_core.c b/tc/tc_core.c | ||
19 | index 7bbe0d7..821b741 100644 | ||
20 | --- a/tc/tc_core.c | ||
21 | +++ b/tc/tc_core.c | ||
22 | @@ -12,6 +12,7 @@ | ||
23 | |||
24 | #include <stdio.h> | ||
25 | #include <stdlib.h> | ||
26 | +#include <stdint.h> | ||
27 | #include <unistd.h> | ||
28 | #include <syslog.h> | ||
29 | #include <fcntl.h> | ||
30 | -- | ||
31 | 2.13.0 | ||
32 | |||