configure.ac: check for linux/rtnetlink.h instead of linux/if_link.h for declarations
Historically, type definitions and declarations related to netlink route interface attributes were in linux/rtnetlink.h, later they were moved elsewhere (first linux/if.h, then linux/if_link.h) with the inclusion of the corresponding header file in linux/rtnetlink.h. * configure.ac: Use <linux/rtnetlink.h> instead of <linux/if_link.h> in checks for interface netlink attributes-related declarations and definitions.
This commit is contained in:
parent
5c481739d7
commit
45049d4a4d
@ -504,11 +504,11 @@ AC_CHECK_TYPES(m4_normalize([
|
||||
struct ifla_bridge_id,
|
||||
struct ifla_port_vsi,
|
||||
struct rtnl_link_stats64
|
||||
]),,, [#include <linux/if_link.h>])
|
||||
]),,, [#include <linux/rtnetlink.h>])
|
||||
AC_CHECK_MEMBERS(m4_normalize([
|
||||
struct rtnl_link_stats.rx_nohandler,
|
||||
struct rtnl_link_stats64.rx_nohandler
|
||||
]),,, [#include <linux/if_link.h>])
|
||||
]),,, [#include <linux/rtnetlink.h>])
|
||||
|
||||
AC_CHECK_TYPES(m4_normalize([
|
||||
struct gnet_stats_basic,
|
||||
|
Loading…
x
Reference in New Issue
Block a user