summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-06-21 15:49:38 -0400
committerRich Felker <dalias@aerifal.cx>2019-06-21 15:49:38 -0400
commita31a30a0076c284133c0f4dfa32b8b37883ac930 (patch)
treed403b41af7f635a73471353be4553cccd65d3817 /include/sys
parent0a48860c27a8eb291bcc7616ea9eb073dc660cab (diff)
downloadmusl-a31a30a0076c284133c0f4dfa32b8b37883ac930.tar.gz
remove implicit include of sys/sysmacros.h from sys/types.h
this reverts commit f552c792c7ce5a560f214e1104d93ee5b0833967, 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.
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/types.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sys/types.h b/include/sys/types.h
index 75e489c5..0c35541d 100644
--- a/include/sys/types.h
+++ b/include/sys/types.h
@@ -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)