On Sat, Apr 25, 2026 at 01:19:07PM +0800, Kevin J. McCarthy wrote:
We've been including it init.c without an AC check for 16 years.As investigated by Alejandro Colomar: <sys/time.h> was standardized in POSIX.1-2001. And well before that, 4.3BSD-Reno already had <sys/time.h>, with the file first added in 1983 (although 4.3BSD-Reno was released later in 1990). <https://www.tuhs.org/cgi-bin/utree.pl?file=4.3BSD-Reno/src/sys/sys/time.h> Because every modern BSD is descendant of 4.3BSD-Reno, we know the file is present in every version of FreeBSD/NetBSD/OpenBSD. glibc also has the file since the very first commit. musl libc also has the file since the very first commit. I think we can assume the header exists in every Unix-like system. And checking gnulib documentation, it seems that the only platform that lacks this header file was MSVC 14. Is mutt being built there? If not, we could maybe remove that check in master everywhere.
I've pushed this up. -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
Description: PGP signature
