]> code.ossystems Code Review - openembedded-core.git/blob
095e3eb409a70da9adae1ba69aff9beb6ea92b2f
[openembedded-core.git] /
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
5  platforms
6
7 Upstream-Status: Backport
8 [https://roy.marples.name/cgit/dhcpcd.git/commit/?id=e7c22336461ee345a5668eed6158e935cd4cdf1a]
9
10 Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
11 ---
12  src/privsep-linux.c | 1 +
13  1 file changed, 1 insertion(+)
14
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
19 @@ -29,6 +29,7 @@
20  #include <sys/ioctl.h>
21  #include <sys/prctl.h>
22  #include <sys/syscall.h>
23 +#include <sys/termios.h>       /* For TCGETS */
24  
25  #include <linux/audit.h>
26  #include <linux/filter.h>
27 -- 
28 2.25.1
29