projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ec0ecb
)
brctl: fix compilation on 2.4.x kernels
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 31 Jan 2009 20:08:21 +0000
(20:08 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 31 Jan 2009 20:08:21 +0000
(20:08 -0000)
networking/brctl.c
patch
|
blob
|
history
diff --git
a/networking/brctl.c
b/networking/brctl.c
index 69e3c869c1c9b2a0a16c8ab699e4ba3d0b926e4a..1b526894737b2468a860f2e384193098c98694ba 100644
(file)
--- a/
networking/brctl.c
+++ b/
networking/brctl.c
@@
-16,6
+16,20
@@
#include <linux/sockios.h>
#include <net/if.h>
+#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