From: Gerald Pfeifer Date: Tue, 16 Oct 2018 15:21:19 +0000 (+0000) Subject: backport: close.c: Include . X-Git-Tag: releases/gcc-6.5.0~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=001521b8ee9a64b83296088f61db264b0c26f6c6;p=thirdparty%2Fgcc.git backport: close.c: Include . Backport from trunk * io/close.c [!HAVE_UNLINK_OPEN_FILE]: Include . From-SVN: r265198 --- diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 2bb438304780..c4ca557c8ca5 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2018-10-16 Gerald Pfeifer + + Backport from trunk + * io/close.c [!HAVE_UNLINK_OPEN_FILE]: Include . + 2018-01-03 Janne Blomqvist Backport from trunk diff --git a/libgfortran/io/close.c b/libgfortran/io/close.c index c29c125b10c0..db45f6ce4e1b 100644 --- a/libgfortran/io/close.c +++ b/libgfortran/io/close.c @@ -25,6 +25,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "io.h" #include "unix.h" #include +#if !HAVE_UNLINK_OPEN_FILE +#include +#endif typedef enum { CLOSE_DELETE, CLOSE_KEEP, CLOSE_UNSPECIFIED }