if_tunnel.h: add missing ams/byteorder.h include
authorPaulius Zaleckas <paulius.zaleckas@gmail.com>
Mon, 22 Mar 2010 04:19:02 +0000 (21:19 -0700)
committerDavid 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

index 1822d635be6b461124e659cfaa0861474a25e0bf..16b92d008bed842e141f77664e94446cbe652dcf 100644 (file)
@@ -2,6 +2,7 @@
 #define _IF_TUNNEL_H_
 
 #include <linux/types.h>
+#include <asm/byteorder.h>
 
 #ifdef __KERNEL__
 #include <linux/ip.h>