mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
[IPV4] MROUTE: Adjust include files for user-space.
<linux/mroute.h> needs <linux/types.h>. Avoid including <linux/in.h> in user-space, which conflicts with standard <netinet/in.h>. Add basic struct and constant in <linux/pim.h>. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
This commit is contained in:
@@ -2,7 +2,10 @@
|
||||
#define __LINUX_MROUTE_H
|
||||
|
||||
#include <linux/sockios.h>
|
||||
#include <linux/types.h>
|
||||
#ifdef __KERNEL__
|
||||
#include <linux/in.h>
|
||||
#endif
|
||||
#include <linux/pim.h>
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user