summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@parallels.com>2011-12-30 04:52:51 +0400
committerDavid S. Miller <davem@davemloft.net>2011-12-31 01:42:19 +0400
commit288461e1546fa4162fa237eeed8ea09a16521dcd (patch)
tree5da752884d994f5c358420ac8f5828895c1e39bb
parente6fe2371bdd3713d0b227e9cd7f905e127ff81a0 (diff)
downloadlinux-288461e1546fa4162fa237eeed8ea09a16521dcd.tar.xz
unix_diag: Include unix_diag.h into header-y target
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>
-rw-r--r--include/linux/Kbuild1
-rw-r--r--include/linux/unix_diag.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index 8e484d660bc3..c94e71781b79 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -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
diff --git a/include/linux/unix_diag.h b/include/linux/unix_diag.h
index 3f7afb007d70..a5ce0f325745 100644
--- a/include/linux/unix_diag.h
+++ b/include/linux/unix_diag.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;