>From a1054a6b898bba88e21a329f25709b1dccad1bff Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 31 Oct 2019 23:40:10 -0400 Subject: [PATCH 4/6] add x32 bits/ioctl_fix.h defining time-related sockios macros these definitions are copied from generic bits/ioctl.h, so that x32 keeps the "_OLD" versions (which are already time64 on x32) when 32-bit archs switch to 64-bit time_t. --- arch/x32/bits/ioctl_fix.h | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 arch/x32/bits/ioctl_fix.h diff --git a/arch/x32/bits/ioctl_fix.h b/arch/x32/bits/ioctl_fix.h new file mode 100644 index 00000000..79f5c281 --- /dev/null +++ b/arch/x32/bits/ioctl_fix.h @@ -0,0 +1,4 @@ +#undef SIOCGSTAMP +#under SIOCGSTAMPNS +#define SIOCGSTAMP 0x8906 +#define SIOCGSTAMPNS 0x8907 -- 2.21.0