package/busybox: fix endianes issue under FreeBSD 8.1
[openwrt.git] / package / busybox / patches / 000-upstream-compat.patch
1 --- a/networking/libiproute/iplink.c
2 +++ b/networking/libiproute/iplink.c
3 @@ -15,6 +15,11 @@
4  #include "rt_names.h"
5  #include "utils.h"
6  
7 +#ifndef IFLA_LINKINFO
8 +# define IFLA_LINKINFO 18
9 +# define IFLA_INFO_KIND 1
10 +#endif
11 +
12  /* taken from linux/sockios.h */
13  #define SIOCSIFNAME    0x8923          /* set interface name */
14