scsi: fix missing include linux/types.h in scsi_netlink.h
authorThomas Bork <tom@eisfair.net>
Sun, 16 Jun 2013 17:47:23 +0000 (19:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 May 2014 05:53:10 +0000 (07:53 +0200)
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>
include/scsi/scsi_netlink.h

index 58ce8fe4478365484ac2d5ab2e7883efce83d114..5cb20ccb195606b9cc0fdac6869b2789c06e1649 100644 (file)
@@ -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