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

Fix detection of setres*id on GNU/Hurd #478

Closed
wants to merge 1 commit into from

Conversation

sthibaul
Copy link
Contributor

Like Linux, proper _SOURCE macros need to be set to get declarations of various standard functions, notably setres*id. Now that Debian is using -Werror=implicit-function-declaration this is really required. While at it, define other _SOURCE macros like on GNU/Linux, since GNU/Hurd uses the same glibc.

Like Linux, proper _SOURCE macros need to be set to get declarations of
various standard functions, notably setres*id. Now that Debian is using
-Werror=implicit-function-declaration this is really required. While at
it, define other _SOURCE macros like on GNU/Linux, since GNU/Hurd uses
the same glibc.
@daztucker
Copy link
Contributor

Seems reasonable. What does ./config.guess report on that platform?

@sthibaul
Copy link
Contributor Author

It's i686-unknown-gnu0.9

@sthibaul
Copy link
Contributor Author

A ping on this?

@daztucker
Copy link
Contributor

Applied thanks. It's on both master and V_9_8 branch so it will be in the next release.

@daztucker daztucker closed this Jul 3, 2024
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.

2 participants