diff options
author | Mikko Rapeli <mikko.rapeli@iki.fi> | 2016-08-22 20:32:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-22 16:25:14 -0700 |
commit | 1fe8e0f074c77aa41aaa579345a9e675acbebfa9 (patch) | |
tree | 9aca11b469ca310fbe5a9aa3086a0a1ab49bc436 | |
parent | b47b0cc73032d3c8225b5ea9a077941632f16d91 (diff) |
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>
-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> |