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

guard sysctl.h include with pre-existing autoconf check #89

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

parona-source
Copy link

@parona-source parona-source commented Oct 28, 2023

  • HAVE_SYSCTLBYNAME and HAVE_SYS_SYSCTL could be paired together as sysctlbyname isn't available if sysctl.h isn't available.
  • Sysctl syscall isn't available in linux >=5.5 and the header is absent in glibc-2.32 and musl-1.0.0

Closes: #87

* HAVE_SYSCTLBYNAME and HAVE_SYS_SYSCTL could be paired together as
  sysctlbyname isn't available if sysctl.h isn't available.
* Sysctl syscall isn't available in linux >=5.5 and the header
  is absent in glibc-2.32 and musl-1.0.0

Closes: Juniper#87
Signed-off-by: Alfred Wingate <parona@protonmail.com>
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.

Linux: <sys/sysctl.h> missing
1 participant