summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2020-08-30 16:47:40 -0400
committerRich Felker <dalias@aerifal.cx>2020-08-30 16:47:40 -0400
commit1ccc804e1345c6e59294f561ac43c3e55ccea1e4 (patch)
treec89aed676723d6bb87c8ce2d681ddc878a91ed16 /include/sys
parent86ac0f794731f03dfff40ee843ff9e2752945d5e (diff)
downloadmusl-1ccc804e1345c6e59294f561ac43c3e55ccea1e4.tar.gz
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/sys')
-rw-r--r--include/sys/ioctl.h2
1 files changed, 2 insertions, 0 deletions
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 <bits/alltypes.h>
#include <bits/ioctl.h>