From b3290956508b808b245c3517013cbf2dcb1775ac Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 18 Dec 2019 18:03:43 -0500 Subject: 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. --- include/sys/ioctl.h | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.1