summaryrefslogtreecommitdiff
path: root/arch/x32
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-10-31 23:21:35 -0400
committerRich Felker <dalias@aerifal.cx>2019-11-02 18:30:56 -0400
commitaad3e0c5b88a9455eab8dea94562f2441ecc58c9 (patch)
tree075b6283841198f0fde16f3025db859be8d5c3e0 /arch/x32
parenta0252bc75b8546008c6b87e58344c4340683d5eb (diff)
downloadmusl-aad3e0c5b88a9455eab8dea94562f2441ecc58c9.tar.gz
add back x32 bits/socket.h defining time-related socket options
these definitions are merely copied from the top-level sys/socket.h, so there is no functional change at this time. however, the top-level definitions will change to use the time64 "_NEW" versions on 32-bit archs when time_t is switched over to 64-bit. this commit ensures that change will be suppressed on x32.
Diffstat (limited to 'arch/x32')
-rw-r--r--arch/x32/bits/socket.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x32/bits/socket.h b/arch/x32/bits/socket.h
new file mode 100644
index 00000000..8d830010
--- /dev/null
+++ b/arch/x32/bits/socket.h
@@ -0,0 +1,5 @@
+#define SO_RCVTIMEO 20
+#define SO_SNDTIMEO 21
+#define SO_TIMESTAMP 29
+#define SO_TIMESTAMPNS 35
+#define SO_TIMESTAMPING 37