net/mii-tool: fix kernel 4.9 compatibility

Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
This commit is contained in:
Stijn Segers 2017-10-27 20:16:53 +02:00
parent b1dc90e41d
commit 8b829cdbc1
2 changed files with 11 additions and 1 deletions

View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mii-tool
PKG_VERSION=2016-10-06-$(PKG_SOURCE_VERSION)
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://git.code.sf.net/p/net-tools/code

View File

@ -0,0 +1,10 @@
--- a/iptunnel.c 2016-07-10 20:15:29.000000000 +0200
+++ b/iptunnel.c 2017-10-19 19:51:09.172782821 +0200
@@ -26,7 +26,6 @@
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
-#include <netinet/ip.h>
#include <arpa/inet.h>
#include <net/if.h>
#include <net/if_arp.h>