crosstool-ng/packages/gcc/9.4.0/0006-libgfortran-missing-include.patch
Chris Packham 5ab678eae3 gcc: Bump maintenance versions
8.4.0 -> 8.5.0
9.3.0 -> 9.4.0

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-07-05 21:11:45 +12:00

15 lines
330 B
Diff

---
libgfortran/io/close.c | 1 +
1 file changed, 1 insertion(+)
--- a/libgfortran/io/close.c
+++ b/libgfortran/io/close.c
@@ -29,6 +29,7 @@ see the files COPYING3 and COPYING.RUNTI
#if !HAVE_UNLINK_OPEN_FILE
#include <string.h>
#endif
+#include <stdlib.h>
typedef enum
{ CLOSE_DELETE, CLOSE_KEEP, CLOSE_UNSPECIFIED }