File python-ethtool.patch of Package python-ethtool

---
 python-ethtool/ethtool.c |    2 ++
 1 file changed, 2 insertions(+)

Index: python-ethtool-0.11/python-ethtool/ethtool.c
===================================================================
--- python-ethtool-0.11.orig/python-ethtool/ethtool.c
+++ python-ethtool-0.11/python-ethtool/ethtool.c
@@ -26,6 +26,8 @@
 #include <sys/ioctl.h>
 #include <sys/types.h>
 #include <ifaddrs.h>
+/* This should have been net/if.h, but libnl3 got it wrong */
+#include <linux/if.h>
 #include <netlink/route/addr.h>
 
 #include "etherinfo_struct.h"
openSUSE Build Service is sponsored by