summaryrefslogtreecommitdiffstats
path: root/include/rdma/signature.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2019-07-22 17:01:30 +0000
committerJason Gunthorpe <jgg@mellanox.com>2019-07-25 13:58:47 -0300
commit39289bfc221423b27570e7c9157b690828e786cb (patch)
treea66ee47a2f1a49b7795fed229135d1795ef32043 /include/rdma/signature.h
parentcf167e5eb92c143ac2b0300ea65ed9f0ce572c3b (diff)
downloadlinux-stable-39289bfc221423b27570e7c9157b690828e786cb.tar.gz
linux-stable-39289bfc221423b27570e7c9157b690828e786cb.tar.bz2
linux-stable-39289bfc221423b27570e7c9157b690828e786cb.zip
RDMA: Make most headers compile stand alone
So that rdma can work with CONFIG_KERNEL_HEADER_TEST and CONFIG_HEADERS_CHECK. Link: https://lore.kernel.org/r/20190722170126.GA16453@ziepe.ca Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/signature.h')
-rw-r--r--include/rdma/signature.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rdma/signature.h b/include/rdma/signature.h
index f24cc2a1d3c5..d16b0fcc8344 100644
--- a/include/rdma/signature.h
+++ b/include/rdma/signature.h
@@ -6,6 +6,8 @@
#ifndef _RDMA_SIGNATURE_H_
#define _RDMA_SIGNATURE_H_
+#include <linux/types.h>
+
enum ib_signature_prot_cap {
IB_PROT_T10DIF_TYPE_1 = 1,
IB_PROT_T10DIF_TYPE_2 = 1 << 1,