aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/Kbuild2
-rw-r--r--include/linux/if_tunnel.h3
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
89header-y += if_slip.h 89header-y += if_slip.h
90header-y += if_strip.h 90header-y += if_strip.h
91header-y += if_tun.h 91header-y += if_tun.h
92header-y += if_tunnel.h
93header-y += in_route.h 92header-y += in_route.h
94header-y += ioctl.h 93header-y += ioctl.h
95header-y += ip6_tunnel.h 94header-y += ip6_tunnel.h
@@ -235,6 +234,7 @@ unifdef-y += if_phonet.h
235unifdef-y += if_pppol2tp.h 234unifdef-y += if_pppol2tp.h
236unifdef-y += if_pppox.h 235unifdef-y += if_pppox.h
237unifdef-y += if_tr.h 236unifdef-y += if_tr.h
237unifdef-y += if_tunnel.h
238unifdef-y += if_vlan.h 238unifdef-y += if_vlan.h
239unifdef-y += igmp.h 239unifdef-y += igmp.h
240unifdef-y += inet_diag.h 240unifdef-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)