diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-01-23 15:12:57 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-01-23 15:12:57 +0000 |
commit | 2cb1267f3aa6ad586037106e635fcdd2b96b6db3 (patch) | |
tree | 719132559199d88c12adb1e6891b8c8855551e1a /package/hostapd/patches/340-roboswitch_fix.patch | |
parent | ef080da5afbe211099a650dd132871861159c697 (diff) |
hostapd: fix compile error in the roboswitch driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19290 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd/patches/340-roboswitch_fix.patch')
-rw-r--r-- | package/hostapd/patches/340-roboswitch_fix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/hostapd/patches/340-roboswitch_fix.patch b/package/hostapd/patches/340-roboswitch_fix.patch new file mode 100644 index 0000000000..50dca64f1a --- /dev/null +++ b/package/hostapd/patches/340-roboswitch_fix.patch @@ -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" |