[next] batctl: switch to net/if.h include to make OpenWrt build happy
Commit Message
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
---
ioctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Wednesday 29 January 2014 16:41:30 Marek Lindner wrote:
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
> ---
> ioctl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied in revision abe78a5.
Thanks,
Marek
@@ -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>