1 From e7c22336461ee345a5668eed6158e935cd4cdf1a Mon Sep 17 00:00:00 2001
2 From: Mikhail Efremov <sem@altlinux.org>
3 Date: Tue, 8 Dec 2020 16:15:28 +0000
4 Subject: [PATCH] Linux: Fix privsep build by including sys/termios.h for all
7 Upstream-Status: Backport
8 [https://roy.marples.name/cgit/dhcpcd.git/commit/?id=e7c22336461ee345a5668eed6158e935cd4cdf1a]
10 Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
12 src/privsep-linux.c | 1 +
13 1 file changed, 1 insertion(+)
15 diff --git a/src/privsep-linux.c b/src/privsep-linux.c
16 index e588ecd7..1fbe97fa 100644
17 --- a/src/privsep-linux.c
18 +++ b/src/privsep-linux.c
20 #include <sys/ioctl.h>
21 #include <sys/prctl.h>
22 #include <sys/syscall.h>
23 +#include <sys/termios.h> /* For TCGETS */
25 #include <linux/audit.h>
26 #include <linux/filter.h>