From: Alexey Lyashkov Date: Mon, 4 Sep 2017 14:25:54 +0000 (+0300) Subject: LU-9810 lnet: fix build with M-OFED 4.1 X-Git-Tag: 2.10.53~12 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=344b6fd6934b30665e7ea172b5793c3f4f5adc57;p=fs%2Flustre-release.git LU-9810 lnet: fix build with M-OFED 4.1 Add uapi path into includes to make build happy Seagate-bug-id: MRP-4508 Test-Parameters: trivial Signed-off-by: Alexey Lyashkov Change-Id: If9c61a303de24c78261a7b6fdafec77f52efa0d3 Reviewed-on: https://review.whamcloud.com/28277 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Olaf Weber Reviewed-by: James Simmons Reviewed-by: Oleg Drokin --- diff --git a/lnet/autoconf/lustre-lnet.m4 b/lnet/autoconf/lustre-lnet.m4 index b4d0973..561833a 100644 --- a/lnet/autoconf/lustre-lnet.m4 +++ b/lnet/autoconf/lustre-lnet.m4 @@ -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, [