Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 601328

Summary: sys-kernel/linux-headers-4.3:<linux/if.h> is not compilable due to struct sockaddr has incomplete type
Product: Gentoo Linux Reporter: Étienne Buira <etienne.buira>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Étienne Buira 2016-12-01 09:07:14 UTC
/usr/include/linux/if.h (among others) are including /usr/include/linux/socket.h expecting this later to define struct sockaddr.
But /usr/include/linux/socket.h only defines __kernel_sockaddr_storage.

The issue is also present in linux-headers-4.8.
Comment 1 SpanKY gentoo-dev 2018-01-30 06:05:38 UTC
should be fixed in current versions by various clean up changes upstream.  and if not, feel free to file an updated bug in the kernel bugzilla.