remove implicit include of sys/sysmacros.h from sys/types.h

this reverts commit f552c792c7, which
exposed the sysmacros.h macros (device major/minor calculations) for
BSD and GNU profiles to mimic an unintentional glibc behavior some
code depended on. glibc has deprecated and since removed them as the
resolution to bug #19239, so it makes no sense for us to keep this
behavior. affected code should all have been fixed by now, and if it's
not yet fixed it needs to be for use with modern glibc anyway.
This commit is contained in:
Rich Felker 2019-06-21 15:49:38 -04:00
parent 0a48860c27
commit a31a30a007
1 changed files with 0 additions and 1 deletions

View File

@ -69,7 +69,6 @@ typedef long long quad_t;
typedef unsigned long long u_quad_t;
#include <endian.h>
#include <sys/select.h>
#include <sys/sysmacros.h>
#endif
#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)