Skip to content

Commit 5070463

Browse files
author
David Sommerseth
committed
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>
1 parent 312099e commit 5070463

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python-ethtool/etherinfo_struct.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
#ifndef _ETHERINFO_STRUCT_H
2727
#define _ETHERINFO_STRUCT_H
2828

29+
#include <netlink/route/addr.h>
30+
2931
/**
3032
* Contains IP address information about a particular ethernet device
3133
*

0 commit comments

Comments
 (0)