Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1586530
| Path | csiph.com!news.redatomik.org!weretis.net!feeder4.news.weretis.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | "Dmitry V. Levin" <ldv@altlinux.org> |
| Newsgroups | linux.kernel |
| Subject | [PATCH] uapi: fix linux/ip6_tunnel.h userspace compilation errors |
| Date | Wed, 22 Feb 2017 23:50:02 +0100 |
| Message-ID | <tdNTs-eQ-7@gated-at.bofh.it> (permalink) |
| X-Original-To | "David S. Miller" <davem@davemloft.net> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 28 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | netdev@vger.kernel.org, linux-kernel@vger.kernel.org |
| X-Original-Date | Thu, 23 Feb 2017 01:38:03 +0300 |
| X-Original-Message-ID | <20170222223803.GA14311@altlinux.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1586530 |
Show key headers only | View raw
Include <linux/if.h> and <linux/in6.h> to fix the following linux/ip6_tunnel.h userspace compilation errors: /usr/include/linux/ip6_tunnel.h:23:12: error: 'IFNAMSIZ' undeclared here (not in a function) char name[IFNAMSIZ]; /* name of tunnel device */ /usr/include/linux/ip6_tunnel.h:30:18: error: field 'laddr' has incomplete type struct in6_addr laddr; /* local tunnel end-point address */ Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> --- include/uapi/linux/ip6_tunnel.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/linux/ip6_tunnel.h b/include/uapi/linux/ip6_tunnel.h index 48af63c..425926c 100644 --- a/include/uapi/linux/ip6_tunnel.h +++ b/include/uapi/linux/ip6_tunnel.h @@ -2,6 +2,8 @@ #define _IP6_TUNNEL_H #include <linux/types.h> +#include <linux/if.h> /* For IFNAMSIZ. */ +#include <linux/in6.h> /* For struct in6_addr. */ #define IPV6_TLV_TNL_ENCAP_LIMIT 4 #define IPV6_DEFAULT_TNL_ENCAP_LIMIT 4 -- ldv
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] uapi: fix linux/ip6_tunnel.h userspace compilation errors "Dmitry V. Levin" <ldv@altlinux.org> - 2017-02-22 23:50 +0100 Re: [PATCH] uapi: fix linux/ip6_tunnel.h userspace compilation errors David Miller <davem@davemloft.net> - 2017-02-23 16:50 +0100
csiph-web