crosstool-ng/packages/gcc/8.4.0/0006-libgfortran-missing-include.patch
Chris Packham 1b29292f89 gcc: Remove nested 8.3.0 directory
When GCC was updated to 8.4.0 the patches were moved incorrectly. Fix
this now so that they will be picked up.

Fixes: commit 31ca84ac ("Update to gcc 8.4.0")
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-05-01 15:27:50 +12:00

15 lines
289 B
Diff

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