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

- From: Arnd Bergmann \<hidden\>
- Date: 2015-02-17 09:14:36 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2015/02/4432357
- Thread: https://ratatoskr.run/linux-api/2015/02/4432065/t.md

```text
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?

	Arnd
```
