diff options
Diffstat (limited to 'meta/recipes-connectivity/dhcpcd/files/0001-Linux-Fix-privsep-build-by-including-sys-termios.h-f.patch')
| -rw-r--r-- | meta/recipes-connectivity/dhcpcd/files/0001-Linux-Fix-privsep-build-by-including-sys-termios.h-f.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcpcd/files/0001-Linux-Fix-privsep-build-by-including-sys-termios.h-f.patch b/meta/recipes-connectivity/dhcpcd/files/0001-Linux-Fix-privsep-build-by-including-sys-termios.h-f.patch new file mode 100644 index 0000000000..095e3eb409 --- /dev/null +++ b/meta/recipes-connectivity/dhcpcd/files/0001-Linux-Fix-privsep-build-by-including-sys-termios.h-f.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 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 | |||
