Skip to content

Commit 288461e

Browse files
xemuldavem330
authored andcommitted
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>
1 parent e6fe237 commit 288461e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

include/linux/Kbuild

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ header-y += in6.h
197197
header-y += in_route.h
198198
header-y += sock_diag.h
199199
header-y += inet_diag.h
200+
header-y += unix_diag.h
200201
header-y += inotify.h
201202
header-y += input.h
202203
header-y += ioctl.h

include/linux/unix_diag.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef __UNIX_DIAG_H__
22
#define __UNIX_DIAG_H__
33

4+
#include <linux/types.h>
5+
46
struct unix_diag_req {
57
__u8 sdiag_family;
68
__u8 sdiag_protocol;

0 commit comments

Comments
 (0)