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 a59bdab..cc132fb 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;