about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-12-18 18:03:43 -0500
committerRich Felker <dalias@aerifal.cx>2019-12-18 18:03:43 -0500
commitb3290956508b808b245c3517013cbf2dcb1775ac (patch)
tree027e38b302dfeeaf82a45718ab32c399fc44848e
parent114178dc8df79a5b1690ee1c7d6d90c79c76b6b7 (diff)
downloadmusl-b3290956508b808b245c3517013cbf2dcb1775ac.tar.gz
musl-b3290956508b808b245c3517013cbf2dcb1775ac.tar.xz
musl-b3290956508b808b245c3517013cbf2dcb1775ac.zip
fix regression in ioctl definitions provided by arch/generic bits
commit b60fdf133c033d4ad6b04a8237f253563fae5928 broke the
SIOCGSTAMP[NS] ioctl fallbacks introduced in commit
2e554617e5a6a41bf3f6c6306c753cd53abf728c, as well as use of these
ioctls, by creating a situation where bits/ioctl.h could be included
without __LONG_MAX being visible.
-rw-r--r--include/sys/ioctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/ioctl.h b/include/sys/ioctl.h
index 372e3ddc..c2ce3b48 100644
--- a/include/sys/ioctl.h
+++ b/include/sys/ioctl.h
@@ -4,6 +4,7 @@
 extern "C" {
 #endif
 
+#include <bits/alltypes.h>
 #include <bits/ioctl.h>
 
 #define N_TTY           0