Rich Felker wrote: ... > > glibc is the process of deprecating, and musl/uClibc would follow suit, > > if not just drop the include altogether. > > musl has never had the issue. :-) because we don't implicitly include > sys/sysmacros.h at all. The set of programs that have any use for > these macros is basically ls, mknod, and archivers (tar, cpio, etc.) > that support archiving device nodes, and these programs can just > include the appropriate header to get them.
musl's sys/types.h currently does include sys/sysmacros.h in a _BSD_SOURCE/_GNU_SOURCE block. (sys/types.h is not implictly included by stdlib.h, though.) Felix _______________________________________________ Toybox mailing list Toybox@lists.landley.net http://lists.landley.net/listinfo.cgi/toybox-landley.net