add x32 bits/ioctl_fix.h defining time-related sockios macros
authorRich Felker <dalias@aerifal.cx>
Fri, 1 Nov 2019 03:40:10 +0000 (23:40 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 2 Nov 2019 22:30:56 +0000 (18:30 -0400)
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 [new file with mode: 0644]

diff --git a/arch/x32/bits/ioctl_fix.h b/arch/x32/bits/ioctl_fix.h
new file mode 100644 (file)
index 0000000..83b957b
--- /dev/null
@@ -0,0 +1,4 @@
+#undef SIOCGSTAMP
+#undef SIOCGSTAMPNS
+#define SIOCGSTAMP      0x8906
+#define SIOCGSTAMPNS    0x8907