From af26171aa63d61a49c05b5582b40f92f4f97ed63 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 22 May 2021 22:14:28 +0200 Subject: [PATCH] stdio: Fix compilation error on DragonFly BSD. * lib/stdio.in.h (fcloseall): Treat DragonFly BSD like FreeBSD. --- ChangeLog | 5 +++++ lib/stdio.in.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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)); -- 2.39.5