From: Rich Felker Date: Wed, 18 Dec 2019 23:03:43 +0000 (-0500) Subject: fix regression in ioctl definitions provided by arch/generic bits X-Git-Tag: v1.2.0~51 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b3290956508b808b245c3517013cbf2dcb1775ac;p=oweals%2Fmusl.git 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. --- 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 #include #define N_TTY 0