unix_diag: Include unix_diag.h into header-y target
authorPavel Emelyanov <xemul@parallels.com>
Fri, 30 Dec 2011 00:52:51 +0000 (00:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Dec 2011 21:42:19 +0000 (16:42 -0500)
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>
include/linux/Kbuild
include/linux/unix_diag.h

index 8e484d6..c94e717 100644 (file)
@@ -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
index 3f7afb0..a5ce0f3 100644 (file)
@@ -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;