From eb3bfdd8295fbc3ffe2e931860be0b27b0b0b7fb Mon Sep 17 00:00:00 2001 From: Sitsofe Wheeler Date: Thu, 17 Aug 2017 22:45:03 +0100 Subject: [PATCH] configure: clean up libverbs configure test Compiling the libverbs configure test generated warnings which would cause libverbs to be detected as unavailable when using -Werror. Fix this by changing an include to infiniband/verbs.h and eliminate the unused stdio.h include while we're here. Signed-off-by: Sitsofe Wheeler --- configure | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure b/configure index 59af1b6c..cefd6103 100755 --- a/configure +++ b/configure @@ -697,8 +697,7 @@ if test "$libverbs" != "yes" ; then libverbs="no" fi cat > $TMPC << EOF -#include -#include +#include int main(int argc, char **argv) { struct ibv_pd *pd = ibv_alloc_pd(NULL); -- 2.25.1