From: Sitsofe Wheeler Date: Thu, 17 Aug 2017 21:45:03 +0000 (+0100) Subject: configure: clean up libverbs configure test X-Git-Tag: fio-3.1~41^2~1 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=eb3bfdd8295fbc3ffe2e931860be0b27b0b0b7fb;p=fio.git 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 --- 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);