OpenHEVC / openHEVC

HEVC decoder
http://openhevc.github.io/openHEVC/
532 stars 193 forks source link

Fix compilation if sys/sysctl.h is not present #84

Open jrsnen opened 1 year ago

jrsnen commented 1 year ago

Glibc 2.32 removes sys/sysctl.h. This commit fixes the compilation with newer versions of Glibc by checking for sys/sysctl.h with has_include.