]> sourceware.org Git - glibc.git/commitdiff
linux: Fix missing __convert_scm_timestamps (BZ #28860)
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 3 Feb 2022 19:52:52 +0000 (16:52 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 3 Feb 2022 19:59:16 +0000 (16:59 -0300)
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.

sysdeps/unix/sysv/linux/convert_scm_timestamps.c

index 82171bf325c312ca99f9960bb90df32afe2f790a..dfc8c2beff0ddfa80c0522fa3532fb02e19f506f 100644 (file)
@@ -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>
This page took 0.041212 seconds and 5 git commands to generate.