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

Roland McGrath roland@hack.frob.com
Sat Nov 21 00:19:00 GMT 2015


> stdlib.h only includes sys/types.h for int32_t, which is also available
> through stdint.h.  We could add support for __need_int32_t if necessary.

Making stdlib.h include stdint.h instead of sys/types.h seems sensible to me.
It was never an explicit intent that stdlib.h would get you sys/sysmacros.h,
while it was for sys/types.h.



More information about the Libc-alpha mailing list