Browse Source

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.
Rich Felker 5 years ago
parent
commit
5127927f4b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      arch/x32/bits/ioctl_fix.h

+ 4 - 0
arch/x32/bits/ioctl_fix.h

@@ -0,0 +1,4 @@
+#undef SIOCGSTAMP
+#undef SIOCGSTAMPNS
+#define SIOCGSTAMP      0x8906
+#define SIOCGSTAMPNS    0x8907