From: Bruno Haible Date: Thu, 9 Feb 2023 11:53:22 +0000 (+0100) Subject: getcwd: Fix compilation error in C23 mode. X-Git-Tag: v1.0~1689 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=ca362f2a87253a372c9a4a75e92d858e09dbbea0;p=gnulib.git getcwd: Fix compilation error in C23 mode. * lib/getcwd.c: Include . --- diff --git a/ChangeLog b/ChangeLog index 9b7a6fee50..f9b21e5c42 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2023-02-09 Bruno Haible + + getcwd: Fix compilation error in C23 mode. + * lib/getcwd.c: Include . + 2023-02-08 Bruno Haible x-to-1: Accept additional help2man arguments. diff --git a/lib/getcwd.c b/lib/getcwd.c index 5201cd06b5..0530630c43 100644 --- a/lib/getcwd.c +++ b/lib/getcwd.c @@ -16,6 +16,7 @@ #if !_LIBC # include +# include # include # include "pathmax.h" #else