summaryrefslogtreecommitdiff
path: root/packages/gcc/9.4.0/0006-libgfortran-missing-include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gcc/9.4.0/0006-libgfortran-missing-include.patch')
-rw-r--r--packages/gcc/9.4.0/0006-libgfortran-missing-include.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/gcc/9.4.0/0006-libgfortran-missing-include.patch b/packages/gcc/9.4.0/0006-libgfortran-missing-include.patch
index f93524b..d4917ee 100644
--- a/packages/gcc/9.4.0/0006-libgfortran-missing-include.patch
+++ b/packages/gcc/9.4.0/0006-libgfortran-missing-include.patch
@@ -4,11 +4,11 @@
--- a/libgfortran/io/close.c
+++ b/libgfortran/io/close.c
-@@ -29,6 +29,7 @@ see the files COPYING3 and COPYING.RUNTI
+@@ -29,6 +29,7 @@
#if !HAVE_UNLINK_OPEN_FILE
#include <string.h>
#endif
+#include <stdlib.h>
typedef enum
- { CLOSE_DELETE, CLOSE_KEEP, CLOSE_UNSPECIFIED }
+ { CLOSE_INVALID = - 1, CLOSE_DELETE, CLOSE_KEEP, CLOSE_UNSPECIFIED }