diff options
author | David Sommerseth <davids@redhat.com> | 2013-12-20 01:34:57 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2013-12-20 01:34:57 +0100 |
commit | 50704634080bb653e899ff4a1d730968fb731398 (patch) | |
tree | 48e4404dc75d1423df0d15fce5399d1d9a098a3b | |
parent | 312099e5bb965210503730abdb727ab5e50425cd (diff) | |
download | python-ethtool-50704634080bb653e899ff4a1d730968fb731398.tar.gz python-ethtool-50704634080bb653e899ff4a1d730968fb731398.tar.xz python-ethtool-50704634080bb653e899ff4a1d730968fb731398.zip |
Get rid of compiler warning
make_python_address_from_rtnl_addr() referenced an undefined struct
without netlink/route/addr.h included.
Signed-off-by: David Sommerseth <davids@redhat.com>
-rw-r--r-- | python-ethtool/etherinfo_struct.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python-ethtool/etherinfo_struct.h b/python-ethtool/etherinfo_struct.h index bc681bc..ffa6254 100644 --- a/python-ethtool/etherinfo_struct.h +++ b/python-ethtool/etherinfo_struct.h @@ -26,6 +26,8 @@ #ifndef _ETHERINFO_STRUCT_H #define _ETHERINFO_STRUCT_H +#include <netlink/route/addr.h> + /** * Contains IP address information about a particular ethernet device * |