summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Bork <tom@eisfair.net>2013-06-16 19:47:23 +0200
committerWilly Tarreau <w@1wt.eu>2014-05-19 07:53:10 +0200
commit9bf823ecfb0c88e7ad4d2d38abc57f5ff6ef437c (patch)
tree2d824c18495993f0724f65b0c32086481116666c /include
parentfeb908dd62056fd757a6764e459a7440302e3799 (diff)
scsi: fix missing include linux/types.h in scsi_netlink.h
Thomas Bork reported that commit c6203cd ("scsi: use __uX types for headers exported to user space") caused a regression as now he's getting this warning : > /usr/src/linux-2.6.32-eisfair-1/usr/include/scsi/scsi_netlink.h:108: > found __[us]{8,16,32,64} type without #include <linux/types.h> This issue was addressed later by commit 10db4e1 ("headers: include linux/types.h where appropriate"), so let's just pick the relevant part from it. Cc: Thomas Bork <tom@eisfair.net> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include')
-rw-r--r--include/scsi/scsi_netlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/scsi_netlink.h b/include/scsi/scsi_netlink.h
index 58ce8fe44783..5cb20ccb1956 100644
--- a/include/scsi/scsi_netlink.h
+++ b/include/scsi/scsi_netlink.h
@@ -23,7 +23,7 @@
#define SCSI_NETLINK_H
#include <linux/netlink.h>
-
+#include <linux/types.h>
/*
* This file intended to be included by both kernel and user space