fix regression in ioctl definitions provided by arch/generic bits
authorRich Felker <dalias@aerifal.cx>
Wed, 18 Dec 2019 23:03:43 +0000 (18:03 -0500)
committerRich Felker <dalias@aerifal.cx>
Wed, 18 Dec 2019 23:03:43 +0000 (18:03 -0500)
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.

include/sys/ioctl.h

index 372e3dd..c2ce3b4 100644 (file)
@@ -4,6 +4,7 @@
 extern "C" {
 #endif
 
+#include <bits/alltypes.h>
 #include <bits/ioctl.h>
 
 #define N_TTY           0