This is a kernel compile error. It's a cross-compile, and i've included linux/tty.h.
I didnt have to because audit.h does so, and both the error still persists. The kernel code looks the same as the other ones so i doubt the error is in the code, but maybe it requires another header or something.
This is the error:
../kernel/audit.c:995:26: error: too few arguments to function call, single
argument 'tty' was not specified
err = tty_audit_push();
~~~~~~~~~~~~~~ ^
../include/linux/tty.h:621:1: note: 'tty_audit_push' declared here
extern void tty_audit_push(struct tty_struct *tty);