termiox no more exists since kernel 5.12: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.12&id=c762a2b846b619c0f92f23e2e8e16f70d20df800 diff --git a/libexplain/libexplain/buffer/termiox.h b/libexplain/libexplain/buffer/termiox.h index ae5a847..e51ddc7 100644 --- a/libexplain/buffer/termiox.h +++ b/libexplain/buffer/termiox.h @@ -21,7 +21,11 @@ #include -struct termiox; /* forward */ +/* make termiox empty + no more defined in Linux kernel since 5.12: + https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.12&id=c762a2b846b619c0f92f23e2e8e16f70d20df800 + */ +struct termiox {}; /** * The explain_buffer_termiox function may be used