lkml.org 
[lkml]   [2017]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] uapi: fix linux/seg6.h and linux/seg6_iptunnel.h userspace compilation errors
From
Date
On 2/23/2017 4:13 AM, Dmitry V. Levin wrote:

> Include <linux/in6.h> in uapi/linux/seg6.h to fix the following
> linux/seg6.h userspace compilation error:
>
> /usr/include/linux/seg6.h:31:18: error: array type has incomplete element type 'struct in6_addr'
> struct in6_addr segments[0];
>
> Include <linux/seg6.h> in uapi/linux/seg6_iptunnel.h to fix
> the following linux/seg6_iptunnel.h userspace compilation error:
>
> /usr/include/linux/seg6_iptunnel.h:26:21: error: array type has incomplete element type 'struct ipv6_sr_hdr'
> struct ipv6_sr_hdr srh[0];
>
> Fixes: a50a05f4("ipv6: sr: add missing Kbuild export for header files")

12 digits and space before ( as well.

> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
[...]

MBR, Sergei

\
 
 \ /
  Last update: 2017-02-23 12:58    [W:0.041 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site