diff options
author | Gerald Pfeifer <gerald@pfeifer.com> | 2018-10-02 20:02:03 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@gcc.gnu.org> | 2018-10-02 20:02:03 +0000 |
commit | ff504cc2b8ddefb82ca78cdfd84649ca4f0ec277 (patch) | |
tree | 5141636412f0f7a069c4a0ef6360db510519859a /libgfortran/io | |
parent | 6bd2b8ec8dddadce2fff21c2f22a71192a2e4e43 (diff) | |
download | gcc-ff504cc2b8ddefb82ca78cdfd84649ca4f0ec277.zip gcc-ff504cc2b8ddefb82ca78cdfd84649ca4f0ec277.tar.gz gcc-ff504cc2b8ddefb82ca78cdfd84649ca4f0ec277.tar.bz2 |
* io/close.c [!HAVE_UNLINK_OPEN_FILE]: Include <string.h>.
From-SVN: r264800
Diffstat (limited to 'libgfortran/io')
-rw-r--r-- | libgfortran/io/close.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgfortran/io/close.c b/libgfortran/io/close.c index cec7a08..3dcd97f 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 <limits.h> +#if !HAVE_UNLINK_OPEN_FILE +#include <string.h> +#endif typedef enum { CLOSE_DELETE, CLOSE_KEEP, CLOSE_UNSPECIFIED } |