diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-02-03 16:52:52 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-02-03 16:59:16 -0300 |
commit | 798d716df71fb23dc89d1d5dba1fc26a1b5c0024 (patch) | |
tree | e2e82b458bdd7a22956f9da46fad91acf24e5be9 /sysdeps/unix | |
parent | 97ba273b505763325efd802dc3a9562dbba79579 (diff) | |
download | glibc-798d716df71fb23dc89d1d5dba1fc26a1b5c0024.zip glibc-798d716df71fb23dc89d1d5dba1fc26a1b5c0024.tar.gz glibc-798d716df71fb23dc89d1d5dba1fc26a1b5c0024.tar.bz2 |
linux: Fix missing __convert_scm_timestamps (BZ #28860)
Commit 948ce73b31 made recvmsg/recvmmsg to always call
__convert_scm_timestamps for 64 bit time_t symbol, so adjust it to
always build it for __TIMESIZE != 64.
It fixes build for architecture with 32 bit time_t support when
configured with minimum kernel of 5.1.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/convert_scm_timestamps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/convert_scm_timestamps.c b/sysdeps/unix/sysv/linux/convert_scm_timestamps.c index 82171bf..dfc8c2b 100644 --- a/sysdeps/unix/sysv/linux/convert_scm_timestamps.c +++ b/sysdeps/unix/sysv/linux/convert_scm_timestamps.c @@ -16,9 +16,9 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ -#include <kernel-features.h> +#include <bits/timesize.h> -#ifndef __ASSUME_TIME64_SYSCALLS +#if __TIMESIZE != 64 # include <stdint.h> # include <string.h> # include <sys/socket.h> |