diff options
author | 2016-08-22 20:32:39 +0200 | |
---|---|---|
committer | 2016-08-22 16:25:14 -0700 | |
commit | 1fe8e0f074c77aa41aaa579345a9e675acbebfa9 (patch) | |
tree | 9aca11b469ca310fbe5a9aa3086a0a1ab49bc436 /include | |
parent | include/uapi/linux/if_pppox.h: include linux/if.h (diff) | |
download | linux-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.h | 3 |
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> |