>From a2b608ed2c39a816146210fe8992ebefbd168a7e Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 31 Oct 2019 23:21:35 -0400 Subject: [PATCH 12/15] 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. --- arch/x32/bits/socket.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 arch/x32/bits/socket.h 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 -- 2.21.0