diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2009-03-09 10:51:38 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-03-13 15:33:25 -0500 |
commit | 4ab3b73f85ca2e99d9dbdb55ac13e57327a7e915 (patch) | |
tree | a3fde53e07b204e57d7705be78cdf2ad93d3cdaa | |
parent | 154229a33e5698cd89910c9762201bc7edd446b4 (diff) | |
download | blackbird-op-linux-4ab3b73f85ca2e99d9dbdb55ac13e57327a7e915.tar.gz blackbird-op-linux-4ab3b73f85ca2e99d9dbdb55ac13e57327a7e915.zip |
[SCSI] bsg: add linux/types.h include to bsg.h
Since bsg.h has recently been added to the list of kernel
headers that should be exported to the user space, this
attachment makes bsg.h more user space "friendly".
Specifically autotools dislike headers that don't compile
freestanding and bsg.h's use of __u32 types (and friends)
are not standard C (C90 or C99). The inclusion of
linux/types.h fixes that.
Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
-rw-r--r-- | include/linux/bsg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/bsg.h b/include/linux/bsg.h index cf0303a60611..6c0a00dfa90c 100644 --- a/include/linux/bsg.h +++ b/include/linux/bsg.h @@ -1,6 +1,8 @@ #ifndef BSG_H #define BSG_H +#include <linux/types.h> + #define BSG_PROTOCOL_SCSI 0 #define BSG_SUB_PROTOCOL_SCSI_CMD 0 |