diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/Kbuild | 2 | ||||
-rw-r--r-- | include/linux/if_tunnel.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild index 12e9a2957caf..6a9bb9753235 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild | |||
@@ -89,7 +89,6 @@ header-y += if_ppp.h | |||
89 | header-y += if_slip.h | 89 | header-y += if_slip.h |
90 | header-y += if_strip.h | 90 | header-y += if_strip.h |
91 | header-y += if_tun.h | 91 | header-y += if_tun.h |
92 | header-y += if_tunnel.h | ||
93 | header-y += in_route.h | 92 | header-y += in_route.h |
94 | header-y += ioctl.h | 93 | header-y += ioctl.h |
95 | header-y += ip6_tunnel.h | 94 | header-y += ip6_tunnel.h |
@@ -235,6 +234,7 @@ unifdef-y += if_phonet.h | |||
235 | unifdef-y += if_pppol2tp.h | 234 | unifdef-y += if_pppol2tp.h |
236 | unifdef-y += if_pppox.h | 235 | unifdef-y += if_pppox.h |
237 | unifdef-y += if_tr.h | 236 | unifdef-y += if_tr.h |
237 | unifdef-y += if_tunnel.h | ||
238 | unifdef-y += if_vlan.h | 238 | unifdef-y += if_vlan.h |
239 | unifdef-y += igmp.h | 239 | unifdef-y += igmp.h |
240 | unifdef-y += inet_diag.h | 240 | unifdef-y += inet_diag.h |
diff --git a/include/linux/if_tunnel.h b/include/linux/if_tunnel.h index aeab2cb32a9c..82c43624c067 100644 --- a/include/linux/if_tunnel.h +++ b/include/linux/if_tunnel.h | |||
@@ -2,7 +2,10 @@ | |||
2 | #define _IF_TUNNEL_H_ | 2 | #define _IF_TUNNEL_H_ |
3 | 3 | ||
4 | #include <linux/types.h> | 4 | #include <linux/types.h> |
5 | |||
6 | #ifdef __KERNEL__ | ||
5 | #include <linux/ip.h> | 7 | #include <linux/ip.h> |
8 | #endif | ||
6 | 9 | ||
7 | #define SIOCGETTUNNEL (SIOCDEVPRIVATE + 0) | 10 | #define SIOCGETTUNNEL (SIOCDEVPRIVATE + 0) |
8 | #define SIOCADDTUNNEL (SIOCDEVPRIVATE + 1) | 11 | #define SIOCADDTUNNEL (SIOCDEVPRIVATE + 1) |