From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 610A23858418; Thu, 3 Feb 2022 20:07:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 610A23858418 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc] linux: Fix missing __convert_scm_timestamps (BZ #28860) X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/master X-Git-Oldrev: 97ba273b505763325efd802dc3a9562dbba79579 X-Git-Newrev: 798d716df71fb23dc89d1d5dba1fc26a1b5c0024 Message-Id: <20220203200724.610A23858418@sourceware.org> Date: Thu, 3 Feb 2022 20:07:24 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2022 20:07:24 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=798d716df71fb23dc89d1d5dba1fc26a1b5c0024 commit 798d716df71fb23dc89d1d5dba1fc26a1b5c0024 Author: Adhemerval Zanella Date: Thu Feb 3 16:52:52 2022 -0300 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. Diff: --- sysdeps/unix/sysv/linux/convert_scm_timestamps.c | 4 ++-- 1 file 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 82171bf325..dfc8c2beff 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 . */ -#include +#include -#ifndef __ASSUME_TIME64_SYSCALLS +#if __TIMESIZE != 64 # include # include # include