projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e016cb
)
if_tunnel.h: add missing ams/byteorder.h include
author
Paulius Zaleckas
<paulius.zaleckas@gmail.com>
Mon, 22 Mar 2010 04:19:02 +0000
(21:19 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 22 Mar 2010 04:19:02 +0000
(21:19 -0700)
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>
include/linux/if_tunnel.h
patch
|
blob
|
history
diff --git
a/include/linux/if_tunnel.h
b/include/linux/if_tunnel.h
index 1822d635be6b461124e659cfaa0861474a25e0bf..16b92d008bed842e141f77664e94446cbe652dcf 100644
(file)
--- a/
include/linux/if_tunnel.h
+++ b/
include/linux/if_tunnel.h
@@
-2,6
+2,7
@@
#define _IF_TUNNEL_H_
#include <linux/types.h>
+#include <asm/byteorder.h>
#ifdef __KERNEL__
#include <linux/ip.h>