From: JingPiao Chen Date: Tue, 15 Aug 2017 04:41:09 +0000 (+0800) Subject: configure.ac: remove redundant linux/dcbnl.h header check X-Git-Tag: v4.19~117 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca2e93ec05f52b26b46636b44214a4b33f0b8258;p=strace configure.ac: remove redundant linux/dcbnl.h header check * configure.ac (AC_CHECK_HEADERS): Remove linux/dcbnl.h. * rtnl_dcb.c: Replace HAVE_LINUX_DCBNL_H with HAVE_STRUCT_DCBMSG. * tests/netlink_route.c: Likewise. --- diff --git a/configure.ac b/configure.ac index f02b71a0..cb398fb5 100644 --- a/configure.ac +++ b/configure.ac @@ -374,7 +374,6 @@ AC_CHECK_HEADERS(m4_normalize([ inttypes.h linux/bsg.h linux/cryptouser.h - linux/dcbnl.h linux/dm-ioctl.h linux/dqblk_xfs.h linux/falloc.h diff --git a/rtnl_dcb.c b/rtnl_dcb.c index 0c9719bc..7c1c57ee 100644 --- a/rtnl_dcb.c +++ b/rtnl_dcb.c @@ -29,7 +29,7 @@ #include "defs.h" -#ifdef HAVE_LINUX_DCBNL_H +#ifdef HAVE_STRUCT_DCBMSG # include "netlink_route.h" # include "print_fields.h" diff --git a/tests/netlink_route.c b/tests/netlink_route.c index 5b60a17b..68d0fc7a 100644 --- a/tests/netlink_route.c +++ b/tests/netlink_route.c @@ -33,7 +33,7 @@ #include #include #include "test_netlink.h" -#ifdef HAVE_LINUX_DCBNL_H +#ifdef HAVE_STRUCT_DCBMSG # include #endif #ifdef HAVE_LINUX_FIB_RULES_H