packages/net/mii-tool/patches/001-include_linux_sockios.patch
juhosg 19e410cd06 [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
2008-04-21 17:58:56 +00:00

13 lines
377 B
Diff

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 */