toolchain/binutils: Set 2.28 as default version
[openwrt/openwrt.git] / package / network / utils / iproute2 / patches / 130-missing_include.patch
index 8856963110b0943d319cdfccf95b34b26ece673a..8759a6259906b0e5da3866390dd7f9a9c3d7cd17 100644 (file)
@@ -1,10 +1,20 @@
 --- a/lib/namespace.c
 +++ b/lib/namespace.c
-@@ -9,6 +9,7 @@
+@@ -10,6 +10,7 @@
  #include <fcntl.h>
  #include <dirent.h>
+ #include <limits.h>
 +#include <sys/param.h>
  
  #include "utils.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>