aboutsummaryrefslogtreecommitdiff
path: root/sys/ofed/drivers/infiniband/hw/mthca/mthca_dev.h
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2017-06-18 16:43:57 +0000
committerMark Johnston <markj@FreeBSD.org>2017-06-18 16:43:57 +0000
commit4eb18346d1cd36edd593cd9b49f6095549910ef2 (patch)
tree42010c286bb6492d31b179f2ded055c4911bedde /sys/ofed/drivers/infiniband/hw/mthca/mthca_dev.h
parent1d9f01b18e383de633e4758dcf22cc6ecb16c7e3 (diff)
downloadsrc-4eb18346d1cd36edd593cd9b49f6095549910ef2.tar.gz
src-4eb18346d1cd36edd593cd9b49f6095549910ef2.zip
Avoid including list.h in LinuxKPI headers.
list.h includes a number of FreeBSD headers as a workaround for the LIST_HEAD name collision. To reduce pollution, avoid including list.h in commonly used headers when it is not explicitly needed. Reviewed by: hselasky MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D11249
Notes
Notes: svn path=/head/; revision=320072
Diffstat (limited to 'sys/ofed/drivers/infiniband/hw/mthca/mthca_dev.h')
-rw-r--r--sys/ofed/drivers/infiniband/hw/mthca/mthca_dev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/ofed/drivers/infiniband/hw/mthca/mthca_dev.h b/sys/ofed/drivers/infiniband/hw/mthca/mthca_dev.h
index 14e3f6288aa3..a6dfc6d307d2 100644
--- a/sys/ofed/drivers/infiniband/hw/mthca/mthca_dev.h
+++ b/sys/ofed/drivers/infiniband/hw/mthca/mthca_dev.h
@@ -45,6 +45,7 @@
#include <linux/mutex.h>
#include <linux/list.h>
#include <linux/semaphore.h>
+#include <linux/wait.h>
#include "mthca_provider.h"
#include "mthca_doorbell.h"