Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open_console.c: fix major() build failure due to glibc 2.28 #1

Open
wants to merge 1 commit into
base: distrotech-gpm
Choose a base branch
from
Open

open_console.c: fix major() build failure due to glibc 2.28 #1

wants to merge 1 commit into from

Conversation

giuliobenetti
Copy link

glibc 2.28 no longer includes <sys/sysmacros.h> from <sys/types.h>,
and therefore <sys/sysmacros.h> must be included explicitly when
major() is used.

This commit adds a patch to directly include <sys/sysmacros.h> into
open_console.c file where major() macro is used.

Signed-off-by: Giulio Benetti giulio.benetti@micronovasrl.com

glibc 2.28 no longer includes <sys/sysmacros.h> from <sys/types.h>,
and therefore <sys/sysmacros.h> must be included explicitly when
major() is used.

This commit adds a patch to directly include <sys/sysmacros.h> into
open_console.c file where major() macro is used.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
@giuliobenetti
Copy link
Author

I've sent this patch to Mailing List too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant