summaryrefslogtreecommitdiff
path: root/package/hostapd/patches/110-roboswitch_compile_fix.patch
blob: 50dca64f1aba39e3a2f46ef5a8c6f13592c7d6c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"