svn commit: trunk/busybox/networking
vda at busybox.net
vda at busybox.net
Sat Jan 31 20:08:23 UTC 2009
Author: vda
Date: 2009-01-31 20:08:21 +0000 (Sat, 31 Jan 2009)
New Revision: 25185
Log:
brctl: fix compilation on 2.4.x kernels
Modified:
trunk/busybox/networking/brctl.c
Changeset:
Modified: trunk/busybox/networking/brctl.c
===================================================================
--- trunk/busybox/networking/brctl.c 2009-01-31 19:26:12 UTC (rev 25184)
+++ trunk/busybox/networking/brctl.c 2009-01-31 20:08:21 UTC (rev 25185)
@@ -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
More information about the busybox-cvs
mailing list