| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
sysmacros.h is only needed for major() which is only used within an
`#if defined(__linux__)` block. So, this header is only needed on linux.
Bug: https://bugs.gentoo.org/751511
Signed-off-by: Jacob Floyd <cognifloyd@gmail.com>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
|
| |
The macro checks in this header file are not particularly useful, and
probably don't make the project more portable in any meaningful way.
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
This is an update to commit 53b60b4. Recent changes in musl have
removed the inclusion of <sys/sysmacros.h> from <sys/types.h>.
Now the macros major()/minor() require the inclusion of the former
header. This change does not affect glibc nor earlier versions of
musl, but is required for musl 1.1.23 and later.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
|
|
|
|
|
| |
This is based on the code indicated in issue #3; the original version
did not run on Solaris.
|
| |
|
|
|
|
|
|
| |
major() requires <sys/types.h> according to man 3 makedev. This bug
shows up on a musl system, but not glibc or uclibc because of a
difference in the way the headers stack.
|
|
This includes the gentoo-functions.sh from earlier versions as well as
consoletype which should have been ported from baselayout-1 as well.
|