--- python-ethtool-0.7.orig/python-ethtool/etherinfo.c +++ python-ethtool-0.7/python-ethtool/etherinfo.c @@ -16,7 +16,6 @@ */ #include -#include #include #include #include --- python-ethtool-0.7.orig/python-ethtool/ethtool.c +++ python-ethtool-0.7/python-ethtool/ethtool.c @@ -41,9 +41,9 @@ #endif typedef unsigned long long u64; -typedef __uint32_t u32; -typedef __uint16_t u16; -typedef __uint8_t u8; +typedef uint32_t u32; +typedef uint16_t u16; +typedef uint8_t u8; #include "ethtool-copy.h" #include /* for SIOCETHTOOL */