Whamcloud - gitweb
LU-9810 lnet: fix build with M-OFED 4.1 22/34322/2
authorAlexey Lyashkov <alexey.lyashkov@seagate.com>
Mon, 4 Sep 2017 14:25:54 +0000 (17:25 +0300)
committerOleg Drokin <green@whamcloud.com>
Sat, 2 Mar 2019 01:31:33 +0000 (01:31 +0000)
Add uapi path into includes to make build happy

Lustre-change: https://review.whamcloud.com/28277
Lustre-commit: 344b6fd6934b30665e7ea172b5793c3f4f5adc57

Seagate-bug-id: MRP-4508
Test-Parameters: trivial
Signed-off-by: Alexey Lyashkov <alexey.lyashkov@seagate.com>
Change-Id: If9c61a303de24c78261a7b6fdafec77f52efa0d3
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/34322
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Gu Zheng <gzheng@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/autoconf/lustre-lnet.m4

index 2ae3144..8cfae97 100644 (file)
@@ -252,7 +252,7 @@ AS_IF([test $ENABLEO2IB = "no"], [
 
                O2IBLND=""
                O2IBPATH=$(readlink --canonicalize $O2IBPATH)
-               EXTRA_OFED_INCLUDE="$EXTRA_OFED_INCLUDE -I$O2IBPATH/include"
+               EXTRA_OFED_INCLUDE="$EXTRA_OFED_INCLUDE -I$O2IBPATH/include -I$O2IBPATH/include/uapi"
                EXTRA_CHECK_INCLUDE="$EXTRA_OFED_CONFIG $EXTRA_OFED_INCLUDE"
                LB_CHECK_COMPILE([whether to enable OpenIB gen2 support],
                openib_gen2_support, [