[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:
parent
475753de61
commit
19e410cd06
12
net/mii-tool/patches/001-include_linux_sockios.patch
Normal file
12
net/mii-tool/patches/001-include_linux_sockios.patch
Normal 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 */
|
Loading…
x
Reference in New Issue
Block a user