summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/iproute2/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/iproute2/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch')
-rw-r--r--meta/recipes-connectivity/iproute2/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch32
1 files changed, 0 insertions, 32 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
deleted file mode 100644
index eb0c0abbab..0000000000
--- a/meta/recipes-connectivity/iproute2/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From 3c885d87befc706bb923933b9819de6fe2de897e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 20 May 2017 14:03:19 -0700
4Subject: [PATCH] include stdint.h explicitly for UINT16_MAX)
5
6Fixes
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
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13Upstream-Status: Pending
14
15 tc/tc_core.c | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/tc/tc_core.c b/tc/tc_core.c
19index 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--
312.13.0
32