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

gpredict does not build with MUSL libc #327

Open
dl1jbe opened this issue Mar 14, 2023 · 0 comments
Open

gpredict does not build with MUSL libc #327

dl1jbe opened this issue Mar 14, 2023 · 0 comments

Comments

@dl1jbe
Copy link

dl1jbe commented Mar 14, 2023

Compiling under MUSL libc fails with 'implicit-function-declaration' for 'gethostbyname()' in gtk-rig.ctrl.c and gtk-rot-ctrl.c.

Further investigation shows that both files need the following feature macro to be defined:

#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif

Under MUSL netdb.h exports gethostbyname() only if the macro is defined.

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

No branches or pull requests

1 participant