Re: [PATCH 37/45] include/uapi/linux/socket.h: include sys/socket.h in userspace

2015-03-10 Thread Mikko Rapeli
On Wed, Mar 11, 2015 at 02:38:15AM +0200, Mikko Rapeli wrote: > On Tue, Feb 17, 2015 at 10:14:10AM +0100, Arnd Bergmann wrote: > > On Tuesday 17 February 2015 00:05:40 Mikko Rapeli wrote: > > > This libc header has sockaddr definition for userspace. > > > Fixes compilation errors like: > > > error:

Re: [PATCH 37/45] include/uapi/linux/socket.h: include sys/socket.h in userspace

2015-03-10 Thread Mikko Rapeli
On Tue, Feb 17, 2015 at 10:14:10AM +0100, Arnd Bergmann wrote: > On Tuesday 17 February 2015 00:05:40 Mikko Rapeli wrote: > > This libc header has sockaddr definition for userspace. > > Fixes compilation errors like: > > error: field ‘ifru_addr’ has incomplete type > > struct sockaddr ifru_addr; >

Re: [PATCH 37/45] include/uapi/linux/socket.h: include sys/socket.h in userspace

2015-02-17 Thread Arnd Bergmann
On Tuesday 17 February 2015 00:05:40 Mikko Rapeli wrote: > This libc header has sockaddr definition for userspace. > Fixes compilation errors like: > error: field ‘ifru_addr’ has incomplete type > struct sockaddr ifru_addr; > > Signed-off-by: Mikko Rapeli > --- > include/uapi/linux/socket.h | 4