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/alltypes.h.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/alltypes.h.in') diff --git a/include/alltypes.h.in b/include/alltypes.h.in index d9ff462e..d47aeea9 100644 --- a/include/alltypes.h.in +++ b/include/alltypes.h.in @@ -77,6 +77,8 @@ TYPEDEF struct __sigset_t { unsigned long __bits[128/sizeof(long)]; } sigset_t; STRUCT iovec { void *iov_base; size_t iov_len; }; +STRUCT winsize { unsigned short ws_row, ws_col, ws_xpixel, ws_ypixel; }; + TYPEDEF unsigned socklen_t; TYPEDEF unsigned short sa_family_t; -- cgit v1.2.1