>From 8c26edfd82bc65ccbd11be1f1e3d5b44378261c9 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 31 Oct 2019 23:40:10 -0400 Subject: [PATCH 13/15] 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..83b957bd --- /dev/null +++ b/arch/x32/bits/ioctl_fix.h @@ -0,0 +1,4 @@ +#undef SIOCGSTAMP +#undef SIOCGSTAMPNS +#define SIOCGSTAMP 0x8906 +#define SIOCGSTAMPNS 0x8907 -- 2.21.0