From: Jiri Slaby Date: Thu, 4 Nov 2010 15:20:23 +0000 (+0100) Subject: TTY: include termios.h in tty_driver.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3dfbd044d0d99cad2fe50e4f6c79845703fa0558;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git TTY: include termios.h in tty_driver.h We reference termios and termiox in tty_driver.h, but we do not include linux/termios.h where these are defined. Add the #include properly. Otherwise when we include tty_driver.h, we get compile errors. Signed-off-by: Jiri Slaby Cc: Alan Cox Cc: Greg KH Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/tty_driver.h b/include/linux/tty_driver.h index db2d227694da..09678ed370f8 100644 --- a/include/linux/tty_driver.h +++ b/include/linux/tty_driver.h @@ -235,6 +235,7 @@ #include #include #include +#include struct tty_struct; struct tty_driver;