From: Kevin Darbyshire-Bryant Date: Fri, 30 Sep 2016 06:12:26 +0000 (+0100) Subject: iproute2: fix no fortify build failure X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=34c2726ca7631202f916215c32abce663dda5e88;p=openwrt%2Fstaging%2Fansuel.git iproute2: fix no fortify build failure Fix rt_names build failure when FORTIFY_SOURCE disabled. Include limits.h which otherwise gets automatically included by fortify headers. Solves FS #194 Signed-off-by: Kevin Darbyshire-Bryant --- diff --git a/package/network/utils/iproute2/patches/130-missing_include.patch b/package/network/utils/iproute2/patches/130-missing_include.patch index 88dfd8585f..8759a62599 100644 --- a/package/network/utils/iproute2/patches/130-missing_include.patch +++ b/package/network/utils/iproute2/patches/130-missing_include.patch @@ -8,3 +8,13 @@ #include "utils.h" #include "namespace.h" +--- a/lib/rt_names.c ++++ b/lib/rt_names.c +@@ -18,6 +18,7 @@ + #include + #include + #include ++#include + + #include + #include