From 1ccc804e1345c6e59294f561ac43c3e55ccea1e4 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 30 Aug 2020 16:47:40 -0400 Subject: fix regression with applications that expect struct winsize in ioctl.h putting the (simple) definition in alltypes.h seems like the best solution here. making sys/ioctl.h implicitly include termios.h is probably excess namespace pollution. --- include/sys/ioctl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sys/ioctl.h') diff --git a/include/sys/ioctl.h b/include/sys/ioctl.h index d6a7d474..a9a2346e 100644 --- a/include/sys/ioctl.h +++ b/include/sys/ioctl.h @@ -4,6 +4,8 @@ extern "C" { #endif +#define __NEED_struct_winsize + #include #include -- cgit v1.2.1