Skip to content

Conversation

@kostrzewa
Copy link
Contributor

As described in https://www.phoronix.com/news/Linux-5.5-Kills-SYSCTL-SYSCALL, sys/sysctl.h has been deprecated for a while, as a result of which QPhiX and/or applications using it fail to build on some systems (such as on github's CI runners).

This seems to fix the issue in the sense that it requires sysconf to be available if sysctl is not. I'm not actually sure that either sys/types.h or sys/sysctl.h are required for using __rdtsc but I don't know so I wanted to make a minimal change which preserves the status quo of sys/sysctl.h is available.

Note that for testing reasons I had to include #121 in here as well.

@kostrzewa kostrzewa requested a review from eromero-vlc February 4, 2023 10:23
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.

4 participants