summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@iki.fi>2016-08-22 20:32:39 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-22 16:25:14 -0700
commit1fe8e0f074c77aa41aaa579345a9e675acbebfa9 (patch)
tree9aca11b469ca310fbe5a9aa3086a0a1ab49bc436 /include
parentb47b0cc73032d3c8225b5ea9a077941632f16d91 (diff)
downloadlinux-1fe8e0f074c77aa41aaa579345a9e675acbebfa9.tar.gz
linux-1fe8e0f074c77aa41aaa579345a9e675acbebfa9.tar.bz2
linux-1fe8e0f074c77aa41aaa579345a9e675acbebfa9.zip
include/uapi/linux/if_tunnel.h: include linux/if.h, linux/ip.h and linux/in6.h
Fixes userspace compilation errors like: error: field ‘iph’ has incomplete type error: field ‘prefix’ has incomplete type Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/if_tunnel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/if_tunnel.h b/include/uapi/linux/if_tunnel.h
index 1046f5515174..777b6cdb1b7b 100644
--- a/include/uapi/linux/if_tunnel.h
+++ b/include/uapi/linux/if_tunnel.h
@@ -2,6 +2,9 @@
#define _UAPI_IF_TUNNEL_H_
#include <linux/types.h>
+#include <linux/if.h>
+#include <linux/ip.h>
+#include <linux/in6.h>
#include <asm/byteorder.h>