[packages] net/mii-tools: must include linux/sockios.h for the correct IOCTL numbers

git-svn-id: svn://svn.openwrt.org/openwrt/packages@10902 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2008-04-21 17:58:56 +00:00
parent 475753de61
commit 19e410cd06

View File

@ -0,0 +1,12 @@
Index: mii-tool-1.9.1.1/mii-tool.c
===================================================================
--- mii-tool-1.9.1.1.orig/mii-tool.c
+++ mii-tool-1.9.1.1/mii-tool.c
@@ -50,6 +50,7 @@ static char version[] =
#include <linux/if_arp.h>
#include <linux/if_ether.h>
#endif
+#include <linux/sockios.h>
#include "mii.h"
#define MAX_ETH 8 /* Maximum # of interfaces */