]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fincore: include sys/syscall.h if available
authorXi Ruoyao <xry111@xry111.site>
Sat, 20 Jun 2026 18:02:41 +0000 (02:02 +0800)
committerXi Ruoyao <xry111@xry111.site>
Sat, 20 Jun 2026 18:04:52 +0000 (02:04 +0800)
commit4af4cccd26b6eaa291c10b1bee7eaf11eb5a6a5e
treeaafb501f76bed30e5ec252d336695eb43e5a59df
parentc86a60b6a7f9ed33c2826692df17c0f15da6d273
fincore: include sys/syscall.h if available

Without sys/syscall.h, we fall back to the hand-brew logic for
SYS_cachestat.  The hand-brew code has a special case for Alpha, but
there are more cases where cachestat has a different syscall number, for
example MIPS.

Signed-off-by: Xi Ruoyao <xry111@xry111.site>
misc-utils/fincore.c