diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-10-31 23:40:10 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-11-02 18:30:56 -0400 |
commit | 5127927f4ba449aff16f6a6db0224a24490ff5b9 (patch) | |
tree | 8515208296f39884db51083b73f79302439583ab /arch/x32/bits | |
parent | aad3e0c5b88a9455eab8dea94562f2441ecc58c9 (diff) | |
download | musl-5127927f4ba449aff16f6a6db0224a24490ff5b9.tar.gz musl-5127927f4ba449aff16f6a6db0224a24490ff5b9.tar.bz2 musl-5127927f4ba449aff16f6a6db0224a24490ff5b9.tar.xz musl-5127927f4ba449aff16f6a6db0224a24490ff5b9.zip |
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.
Diffstat (limited to 'arch/x32/bits')
-rw-r--r-- | arch/x32/bits/ioctl_fix.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |