• Thomas Bork's avatar
    scsi: fix missing include linux/types.h in scsi_netlink.h · 9bf823ec
    Thomas Bork authored
    Thomas Bork reported that commit c6203cd4 ("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 10db4e1e ("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: default avatarWilly Tarreau <w@1wt.eu>
    9bf823ec
scsi_netlink.h 4.27 KB