The headers check complains it should include the linux/types.h withing, thus add this one. Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: David S. Miller <davem@davemloft.net>
@@ -197,6 +197,7 @@ header-y += in6.h
header-y += in_route.h
header-y += sock_diag.h
header-y += inet_diag.h
+header-y += unix_diag.h
header-y += inotify.h
header-y += input.h
header-y += ioctl.h
@@ -1,6 +1,8 @@
#ifndef __UNIX_DIAG_H__
#define __UNIX_DIAG_H__
+#include <linux/types.h>
+
struct unix_diag_req {
__u8 sdiag_family;
__u8 sdiag_protocol;