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

- From: Mikko Rapeli \<hidden\>
- Date: 2015-03-11 00:38:21 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2015/03/4448015
- Thread: https://ratatoskr.run/linux-api/2015/02/4432065/t.md

```text
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;
> > 
> > Signed-off-by: Mikko Rapeli <redacted>
> > ---
> >  include/uapi/linux/socket.h | 4 ++++
> >  1 file changed, 4 insertions(+)
> 
> This looks wrong: where do you see a use of ifru_addr
> in uapi/linux/socket.h?

Indeed, this one seems completely wrong. Based on the test logs the
change should have gone to linux/if.h.

-Mikko
```
