From: Bruno Haible Date: Sat, 22 May 2021 20:14:28 +0000 (+0200) Subject: stdio: Fix compilation error on DragonFly BSD. X-Git-Tag: v1.0~2875 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=af26171aa63d61a49c05b5582b40f92f4f97ed63;p=gnulib.git stdio: Fix compilation error on DragonFly BSD. * lib/stdio.in.h (fcloseall): Treat DragonFly BSD like FreeBSD. --- diff --git a/ChangeLog b/ChangeLog index a3fcdb65fe..5afb8811b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-05-22 Bruno Haible + + stdio: Fix compilation error on DragonFly BSD. + * lib/stdio.in.h (fcloseall): Treat DragonFly BSD like FreeBSD. + 2021-05-22 Larkin Nickle (tiny change) getprogname: port to Tru64 diff --git a/lib/stdio.in.h b/lib/stdio.in.h index bbe7084194..4dfa339813 100644 --- a/lib/stdio.in.h +++ b/lib/stdio.in.h @@ -242,7 +242,7 @@ _GL_WARN_ON_USE (fclose, "fclose is not always POSIX compliant - " _GL_CXXALIAS_MDA (fcloseall, int, (void)); # else # if @HAVE_DECL_FCLOSEALL@ -# if defined __FreeBSD__ +# if defined __FreeBSD__ || defined __DragonFly__ _GL_CXXALIAS_SYS (fcloseall, void, (void)); # else _GL_CXXALIAS_SYS (fcloseall, int, (void));