Skip to contentSkip to conversation

unix_diag: Include unix_diag.h into header-y target

PATCH Applied Pavel Emelyanov 2 participants 2 messages Dec 30, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/7 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.

---
 include/linux/Kbuild      |    1 +
 include/linux/unix_diag.h |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)
include/linux/Kbuild +1 -0
index 8e484d6..c94e717 100644
@@ -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
include/linux/unix_diag.h +2 -0
index 3f7afb0..a5ce0f3 100644
@@ -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;
Signature · 1 line
1.5.5.6