[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170219.181635.888171103093220298.davem@davemloft.net>
Date: Sun, 19 Feb 2017 18:16:35 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ldv@...linux.org
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/2] uapi: fix linux/rds.h userspace compilation
error
From: "Dmitry V. Levin" <ldv@...linux.org>
Date: Thu, 16 Feb 2017 18:05:45 +0300
> On the kernel side, sockaddr_storage is #define'd to
> __kernel_sockaddr_storage. Replacing struct sockaddr_storage with
> struct __kernel_sockaddr_storage defined by <linux/socket.h> fixes
> the following linux/rds.h userspace compilation error:
>
> /usr/include/linux/rds.h:226:26: error: field 'dest_addr' has incomplete type
> struct sockaddr_storage dest_addr;
>
> Signed-off-by: Dmitry V. Levin <ldv@...linux.org>
Applied.
Powered by blists - more mailing lists