View Single Post
Old 2021-02-15, 23:02   #5
Dylan14
 
Dylan14's Avatar
 
"Dylan"
Mar 2017

577 Posts
Default

When I try to build on Arch Linux (which is presently on kernel version 5.10.16) the error I would get if I kept the include <sys/sysctl.h> is:

Code:
platform.h:1307:12: fatal error: sys/sysctl.h: No such file or directory
compilation terminated.
This is using gcc 10.2.0.
This would not be needed, if I was using the linux-lts kernel which is on version 5.4 and has the sysctl.h file - so doing my blanket patch is a bit risky - I should only run the patch if the kernel version is at least 5.5.
Dylan14 is offline   Reply With Quote