* lib/utimens.h [HAVE_UTIMENS || HAVE_LUTIMENS]: Include <sys/stat.h>
instead of <sys/time.h> for the declarations of these functions on
NetBSD.
2025-03-23 Collin Funk <collin.funk1@gmail.com>
+ utimens: Fix missing declarations on NetBSD (regr. 2024-09-16).
+ * lib/utimens.h [HAVE_UTIMENS || HAVE_LUTIMENS]: Include <sys/stat.h>
+ instead of <sys/time.h> for the declarations of these functions on
+ NetBSD.
+
newlocale: Fix implicit function declarations.
* lib/newlocale.c [HAVE_NEWLOCALE]: Include string.h for strlen and
strcmp, stdio.h for sprintf, and stdlib.h for free.
#include <time.h>
#if HAVE_UTIMENS || HAVE_LUTIMENS
-# include <sys/time.h>
+# include <sys/stat.h>
#endif
#ifdef __cplusplus