projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aad3e0c
)
add x32 bits/ioctl_fix.h defining time-related sockios macros
author
Rich Felker
<dalias@aerifal.cx>
Fri, 1 Nov 2019 03:40:10 +0000
(23:40 -0400)
committer
Rich 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]
patch
|
blob
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
+++ b/
arch/x32/bits/ioctl_fix.h
@@ -0,0
+1,4
@@
+#undef SIOCGSTAMP
+#undef SIOCGSTAMPNS
+#define SIOCGSTAMP 0x8906
+#define SIOCGSTAMPNS 0x8907