Skip to content

Commit 3dfbd04

Browse files
Jiri Slabygregkh
authored andcommitted
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 <jslaby@suse.cz> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: Greg KH <gregkh@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent a75d946 commit 3dfbd04

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎include/linux/tty_driver.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@
235235
#include <linux/fs.h>
236236
#include <linux/list.h>
237237
#include <linux/cdev.h>
238+
#include <linux/termios.h>
238239

239240
struct tty_struct;
240241
struct tty_driver;

0 commit comments

Comments
 (0)