]> git.openfabrics.org - compat-rdma/compat.git/commitdiff
rdma.m4: fix up bonding.h include path
authorPotnuri Bharat Teja <bharat@chelsio.com>
Thu, 3 Mar 2016 22:22:28 +0000 (14:22 -0800)
committerroot <root@stevo1.asicdesigners.com>
Thu, 3 Mar 2016 22:22:28 +0000 (14:22 -0800)
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
config/rdma.m4

index a59bdabe03f4b43c25d3f545ce46e54a4332ee7f..cc132fb4d7a2ce08b16427ea16abf4f5360e65dc 100644 (file)
@@ -1029,7 +1029,7 @@ AC_DEFUN([LINUX_CONFIG_COMPAT],
 
        AC_MSG_CHECKING([if bonding.h bond_for_each_slave has 3 parameters])
        LB_LINUX_TRY_COMPILE([
-               #include "../drivers/net/bonding/bonding.h"
+               #include <net/bonding.h>
        ],[
                struct bonding *bond = NULL;
                struct list_head *iter = NULL;
@@ -2053,7 +2053,7 @@ AC_DEFUN([LINUX_CONFIG_COMPAT],
 
        AC_MSG_CHECKING([if bonding.h bond_for_each_slave has int for 3rd parameter])
        LB_LINUX_TRY_COMPILE([
-               #include "../drivers/net/bonding/bonding.h"
+               #include <net/bonding.h>
        ],[
                struct bonding *bond = NULL;
                struct slave *slave = NULL;