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 8e484d660bc3c0c23f9afc68928eaf9f8c2d6d41..c94e71781b7983dd537f9b99e76ab106caf1d390 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 3f7afb007d70779e74d0e162317973aab9cbf3c8..a5ce0f325745f8e7fd5233c54b42ae49bcb8d8f6 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;