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
Also in
lkml
Reply to
Arnd Bergmann, 2015-02-17
On Tue, Feb 17, 2015 at 10:14:10AM +0100, Arnd Bergmann wrote:
On Tuesday 17 February 2015 00:05:40 Mikko Rapeli wrote:
quoted
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
Thread (4 messages) 4 messages, 2 authors, last reply 2015-03-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help