From 802cab15e5407269cc3bb3a53fe076e86b62307e Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 31 Jan 2009 20:08:21 +0000 Subject: brctl: fix compilation on 2.4.x kernels --- networking/brctl.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'networking') diff --git a/networking/brctl.c b/networking/brctl.c index 69e3c86..1b52689 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 -- cgit v1.1