From: Collin Funk Date: Sun, 23 Mar 2025 23:36:26 +0000 (-0700) Subject: utimens: Fix missing declarations on NetBSD (regr. 2024-09-16). X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=39db933c36305612b79300aa34f4d0d926816cd3;p=gnulib.git utimens: Fix missing declarations on NetBSD (regr. 2024-09-16). * lib/utimens.h [HAVE_UTIMENS || HAVE_LUTIMENS]: Include instead of for the declarations of these functions on NetBSD. --- diff --git a/ChangeLog b/ChangeLog index 10c428e81f..c849ceb122 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2025-03-23 Collin Funk + utimens: Fix missing declarations on NetBSD (regr. 2024-09-16). + * lib/utimens.h [HAVE_UTIMENS || HAVE_LUTIMENS]: Include + instead of 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. diff --git a/lib/utimens.h b/lib/utimens.h index 007958dd93..62ea7d8f5f 100644 --- a/lib/utimens.h +++ b/lib/utimens.h @@ -25,7 +25,7 @@ #include #if HAVE_UTIMENS || HAVE_LUTIMENS -# include +# include #endif #ifdef __cplusplus