Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 601328 - sys-kernel/linux-headers-4.3:<linux/if.h> is not compilable due to struct sockaddr has incomplete type
Summary: sys-kernel/linux-headers-4.3:<linux/if.h> is not compilable due to struct soc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-01 09:07 UTC by Étienne Buira
Modified: 2018-01-30 06:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.