diff options
Diffstat (limited to 'community/py-ethtool/fix-includes-and-types.patch')
| -rw-r--r-- | community/py-ethtool/fix-includes-and-types.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/community/py-ethtool/fix-includes-and-types.patch b/community/py-ethtool/fix-includes-and-types.patch index da655f7c67..4562ce44ad 100644 --- a/community/py-ethtool/fix-includes-and-types.patch +++ b/community/py-ethtool/fix-includes-and-types.patch @@ -1,16 +1,16 @@ ---- python-ethtool-0.7.orig/python-ethtool/etherinfo.c -+++ python-ethtool-0.7/python-ethtool/etherinfo.c -@@ -16,7 +16,6 @@ - */ - +--- a/python-ethtool/etherinfo.c ++++ b/python-ethtool/etherinfo.c +@@ -18,7 +18,6 @@ #include <Python.h> + #include "include/py3c/compat.h" + #include <bytesobject.h> -#include <bits/sockaddr.h> #include <stdio.h> #include <string.h> #include <sys/types.h> ---- python-ethtool-0.7.orig/python-ethtool/ethtool.c -+++ python-ethtool-0.7/python-ethtool/ethtool.c -@@ -41,9 +41,9 @@ +--- a/python-ethtool/ethtool.c ++++ b/python-ethtool/ethtool.c +@@ -45,9 +45,9 @@ #endif typedef unsigned long long u64; @@ -22,4 +22,4 @@ +typedef uint8_t u8; #include "ethtool-copy.h" - #include <linux/sockios.h> /* for SIOCETHTOOL */ + #include <linux/sockios.h> /* for SIOCETHTOOL */ |
