From a7770013725d04b8489d8bc119f21819d48ad64c Mon Sep 17 00:00:00 2001 From: q66 Date: Fri, 29 Nov 2019 17:43:17 +0100 Subject: linux_priv.c: add termios.h include to fix powerpc(64) builds On PowerPC (and variants), Linux has its own ioctls.h which defines `TCGETS` as `_IOR('t', 19, struct termios)`. That means without having included `termios.h`, build will fail with usage of incomplete type `struct termios` as soon as `TCGETS` is used. --- linux_priv.c | 1 + 1 file changed, 1 insertion(+) (limited to 'linux_priv.c') diff --git a/linux_priv.c b/linux_priv.c index c591caf..4332c33 100644 --- a/linux_priv.c +++ b/linux_priv.c @@ -1,5 +1,6 @@ #include "config.h" #include +#include #include #include #include -- cgit v1.2.1