summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSitsofe Wheeler <sitsofe@yahoo.com>2017-08-17 22:45:03 +0100
committerSitsofe Wheeler <sitsofe@yahoo.com>2017-08-18 19:52:44 +0100
commiteb3bfdd8295fbc3ffe2e931860be0b27b0b0b7fb (patch)
tree9ec02a6f1df8123be471c665b2f312ba86bddd5a /configure
parentb747af64f3f666ee8a3c265425c2b28d7fe74c69 (diff)
downloadfio-eb3bfdd8295fbc3ffe2e931860be0b27b0b0b7fb.tar.gz
fio-eb3bfdd8295fbc3ffe2e931860be0b27b0b0b7fb.tar.bz2
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 <sitsofe@yahoo.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 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 <stdio.h>
-#include <infiniband/arch.h>
+#include <infiniband/verbs.h>
int main(int argc, char **argv)
{
struct ibv_pd *pd = ibv_alloc_pd(NULL);