Skip to content

Commit

Permalink
unix_diag: Include unix_diag.h into header-y target
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pavel Emelyanov authored and David S. Miller committed Dec 30, 2011
1 parent e6fe237 commit 288461e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions include/linux/unix_diag.h
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 288461e

Please sign in to comment.