net-tools/net-tools-1.60-sockios-SIOCGMIIPHY.diff

11 lines
251 B
Diff

--- net-tools-1.60/mii-tool.c
+++ net-tools-1.60/mii-tool.c
@@ -46,6 +46,7 @@
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
+#include <linux/sockios.h>
#ifndef __GLIBC__
#include <linux/if_arp.h>
#include <linux/if_ether.h>