forked from pool/python-ethtool
- add python-ethtool.patch to fix build OBS-URL: https://build.opensuse.org/request/show/363725 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ethtool?expand=0&rev=2
18 lines
537 B
Diff
18 lines
537 B
Diff
---
|
|
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"
|