From: Denis Vlasenko Date: Sat, 31 Jan 2009 20:08:21 +0000 (-0000) Subject: brctl: fix compilation on 2.4.x kernels X-Git-Tag: 1_14_0~346 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=802cab15e5407269cc3bb3a53fe076e86b62307e;p=oweals%2Fbusybox.git brctl: fix compilation on 2.4.x kernels --- diff --git a/networking/brctl.c b/networking/brctl.c index 69e3c869c..1b5268947 100644 --- a/networking/brctl.c +++ b/networking/brctl.c @@ -16,6 +16,20 @@ #include #include +#ifndef SIOCBRADDBR +# define SIOCBRADDBR BRCTL_ADD_BRIDGE +#endif +#ifndef SIOCBRDELBR +# define SIOCBRDELBR BRCTL_DEL_BRIDGE +#endif +#ifndef SIOCBRADDIF +# define SIOCBRADDIF BRCTL_ADD_IF +#endif +#ifndef SIOCBRDELIF +# define SIOCBRDELIF BRCTL_DEL_IF +#endif + + /* Maximum number of ports supported per bridge interface. */ #ifndef MAX_PORTS #define MAX_PORTS 32