]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* io/close.c [!HAVE_UNLINK_OPEN_FILE]: Include <string.h>.
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Oct 2018 20:02:03 +0000 (20:02 +0000)
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Oct 2018 20:02:03 +0000 (20:02 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264800 138bc75d-0d04-0410-961f-82ee72b054a4

libgfortran/ChangeLog
libgfortran/io/close.c

index d74474066157cde1a1360e043f09bbfa707f95e2..6a8bcc221b73ce1758cc7abaf71b391a91f9d99f 100644 (file)
@@ -1,3 +1,7 @@
+2018-10-02  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * io/close.c [!HAVE_UNLINK_OPEN_FILE]: Include <string.h>.
+
 2018-09-21  Janne Blomqvist  <jb@gcc.gnu.org>
 
        * config.h.in: Regenerated.
index cec7a0848625274540ff974c49bae2a93a4efc45..3dcd97ff1397cf82f39184d0632547d2dd6c8d22 100644 (file)
@@ -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 }