Skip to contentSkip to conversation

batctl: switch to net/if.h include to make OpenWrt build happy

PATCH Applied Marek Lindner 1 participant 2 messages Jan 29, 2014 – Feb 2, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 batctl: switch to net/if.h include to make OpenWrt build happy

---
 ioctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ioctl.c +1 -1
index eccac66..1f827e8 100644
@@ -25,10 +25,10 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <net/if.h>
 #include <sys/ioctl.h>
 #include <sys/types.h>
 #include <sys/socket.h>
-#include <linux/if.h>
 #include <linux/sockios.h>
 #include <linux/ethtool.h>
 #include <stdint.h>
Signature · 1 line
1.8.5.3