summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2013-12-20 01:34:57 +0100
committerDavid Sommerseth <davids@redhat.com>2013-12-20 01:34:57 +0100
commit50704634080bb653e899ff4a1d730968fb731398 (patch)
tree48e4404dc75d1423df0d15fce5399d1d9a098a3b
parent312099e5bb965210503730abdb727ab5e50425cd (diff)
downloadpython-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.h2
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
*