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 <kevin@darbyshire-bryant.me.uk>
This commit is contained in:
parent
eb7307cb94
commit
34c2726ca7
1 changed files with 10 additions and 0 deletions
|
@ -8,3 +8,13 @@
|
||||||
|
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "namespace.h"
|
#include "namespace.h"
|
||||||
|
--- a/lib/rt_names.c
|
||||||
|
+++ b/lib/rt_names.c
|
||||||
|
@@ -18,6 +18,7 @@
|
||||||
|
#include <sys/time.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#include <dirent.h>
|
||||||
|
+#include <limits.h>
|
||||||
|
|
||||||
|
#include <asm/types.h>
|
||||||
|
#include <linux/rtnetlink.h>
|
||||||
|
|
Loading…
Reference in a new issue