Disable the syscall on systems that don't have it.
Got a report in #397 that htop runs in NetBSD masquerading as Linux and using a compatibility /proc (like we used to in FreeBSD) and that it builds fine apart from this syscall.
Please register or sign in to comment