RFC: remove <sys/sysmacros.h> from <sys/types.h>

Andreas Schwab schwab@linux-m68k.org
Sat Nov 14 09:18:00 GMT 2015


Roland McGrath <roland@hack.frob.com> writes:

> Having <sys/types.h> define these macros is part of the original BSD API
> that was the baseline for glibc long long ago.  What do the modern BSDs
> do about this issue?

Nothing, they have the same problem.

https://svnweb.freebsd.org/base/head/sys/sys/types.h?view=markup#l356

(__BSD_VISIBLE is the equivalent of __USE_BSD.)

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Libc-alpha mailing list