diff mbox

[2/3] Incomplete type for struct in6_addr

Message ID 1254951282-5056-3-git-send-email-hagen@jauu.net
State Not Applicable, archived
Delegated to: David Miller
Headers show

Commit Message

Hagen Paul Pfeifer Oct. 7, 2009, 9:34 p.m. UTC
if_tunnel.h defines a new struct consisting of struct in6_addr,
but the definition is defined in linux/in6.h - so we must
include them beforehand.

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
---
 include/linux/if_tunnel.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/include/linux/if_tunnel.h b/include/linux/if_tunnel.h
index c53c8e0..8d76cb4 100644
--- a/include/linux/if_tunnel.h
+++ b/include/linux/if_tunnel.h
@@ -5,6 +5,7 @@ 
 
 #ifdef __KERNEL__
 #include <linux/ip.h>
+#include <linux/in6.h>
 #endif
 
 #define SIOCGETTUNNEL   (SIOCDEVPRIVATE + 0)