hostapd: fix compile error in the roboswitch driver
[openwrt-10.03/.git] / package / hostapd / patches / 340-roboswitch_fix.patch
diff --git a/package/hostapd/patches/340-roboswitch_fix.patch b/package/hostapd/patches/340-roboswitch_fix.patch
new file mode 100644 (file)
index 0000000..50dca64
--- /dev/null
@@ -0,0 +1,14 @@
+--- a/src/drivers/driver_roboswitch.c
++++ b/src/drivers/driver_roboswitch.c
+@@ -14,10 +14,10 @@
+ #include "includes.h"
+ #include <sys/ioctl.h>
+-#include <linux/if.h>
+ #include <linux/sockios.h>
+ #include <linux/if_ether.h>
+ #include <linux/mii.h>
++#include <net/if.h>
+ #include "common.h"
+ #include "driver.h"