From: Gerald Pfeifer Date: Tue, 2 Oct 2018 20:02:03 +0000 (+0000) Subject: * io/close.c [!HAVE_UNLINK_OPEN_FILE]: Include . X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff504cc2b8ddefb82ca78cdfd84649ca4f0ec277;p=gcc.git * io/close.c [!HAVE_UNLINK_OPEN_FILE]: Include . From-SVN: r264800 --- diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index d7447406615..6a8bcc221b7 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,7 @@ +2018-10-02 Gerald Pfeifer + + * io/close.c [!HAVE_UNLINK_OPEN_FILE]: Include . + 2018-09-21 Janne Blomqvist * config.h.in: Regenerated. diff --git a/libgfortran/io/close.c b/libgfortran/io/close.c index cec7a084862..3dcd97ff139 100644 --- a/libgfortran/io/close.c +++ b/libgfortran/io/close.c @@ -26,6 +26,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "unix.h" #include "async.h" #include +#if !HAVE_UNLINK_OPEN_FILE +#include +#endif typedef enum { CLOSE_DELETE, CLOSE_KEEP, CLOSE_UNSPECIFIED }