diff options
author | Rich Felker <dalias@aerifal.cx> | 2020-08-30 16:47:40 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-08-30 16:47:40 -0400 |
commit | 1ccc804e1345c6e59294f561ac43c3e55ccea1e4 (patch) | |
tree | c89aed676723d6bb87c8ce2d681ddc878a91ed16 /include/alltypes.h.in | |
parent | 86ac0f794731f03dfff40ee843ff9e2752945d5e (diff) | |
download | musl-1ccc804e1345c6e59294f561ac43c3e55ccea1e4.tar.gz musl-1ccc804e1345c6e59294f561ac43c3e55ccea1e4.tar.xz musl-1ccc804e1345c6e59294f561ac43c3e55ccea1e4.zip |
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.
Diffstat (limited to 'include/alltypes.h.in')
-rw-r--r-- | include/alltypes.h.in | 2 |
1 files changed, 2 insertions, 0 deletions
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; |