mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
if_tunnel.h: add missing ams/byteorder.h include
When compiling userspace application which includes if_tunnel.h and uses GRE_* defines you will get undefined reference to __cpu_to_be16. Fix this by adding missing #include <asm/byteorder.h> Cc: stable@kernel.org Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5e016cbf6c
commit
9bf35c8ddd
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
#define _IF_TUNNEL_H_
|
#define _IF_TUNNEL_H_
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
#include <asm/byteorder.h>
|
||||||
|
|
||||||
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
||||||
#include <linux/ip.h>
|
#include <linux/ip.h>
|
||||||
|
|
Loading…
Reference in a new issue