net-analyzer/netselect fails to build under sys-libs/musl due to netselect-0.3-bsd.patch not including the <sys/types.h> include under the "#ifdef _ifdef_, which leads to build failures.
Steps to reproduce:
Attempt to emerge net-analyer/netselect under a fresh musl stage3
compilation fails due to undefined types
netselect.c:819:7: error: unknown type name ‘u_char’
u_char * buf, int cc,
Didn't notice my typo:
I added the <sys/types.h> include under the #ifdef __linux__ block which fixed my compilation issues
That's odd. It does.
I fixed the patch which is applied in -r3 but added an -r4 as well.