dhcpcd-discuss

Re: [PATCH] Fix build on powerpc

Mikhail Efremov

Tue Dec 08 08:08:20 2020

On Tue,  8 Dec 2020 11:01:27 +0300 Mikhail Efremov wrote:
> On powerpc struct termios must be defined for TCGETS macro.

If struct termios is not defined, an error occurs on powerpc:
[ppc64le] In file included from privsep-linux.c:34:
[ppc64le] privsep-linux.c:263:35: error: invalid application of 'sizeof' to incomplete type 'struct termios'
[ppc64le]   263 |  SECCOMP_ALLOW_ARG(__NR_ioctl, 1, TCGETS),

-- 
WBR, Mikhail Efremov

References:
[PATCH] Fix build on powerpcMikhail Efremov
Archive administrator: postmaster@marples.name