Closed Hummer12007 closed 7 years ago
Do you know if this breaks compile anywhere?
Well, it (the issue) seems to break the build in gentoo with glibc-2.24 (which is not even keyworded yet), as they decided to patch the implicit include out (again). Same thing happened with 2.23 before (but they have decided to revert it before stabilizing). Who knows what'll happen this time...
At the very least, it is compatible with glibc, musl, and uclibc(-ng).
Lets merge this and think about it if there are complaints.
sys/sysmacros.h implicit inclusion is being deprecated (even with _DEFAULT_SOURCE), so it would cause build breakage on future updates.
See https://bugs.gentoo.org/show_bug.cgi?id=604608 and https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html (also mentioned in glibc news)