summaryrefslogtreecommitdiff
path: root/include/uapi/linux/if_tunnel.h
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@iki.fi>2016-08-22 21:32:39 +0300
committerDavid S. Miller <davem@davemloft.net>2016-08-23 02:25:14 +0300
commit1fe8e0f074c77aa41aaa579345a9e675acbebfa9 (patch)
tree9aca11b469ca310fbe5a9aa3086a0a1ab49bc436 /include/uapi/linux/if_tunnel.h
parentb47b0cc73032d3c8225b5ea9a077941632f16d91 (diff)
downloadlinux-1fe8e0f074c77aa41aaa579345a9e675acbebfa9.tar.xz
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/uapi/linux/if_tunnel.h')
-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>