summaryrefslogtreecommitdiff
path: root/packages/gcc/8.3.0/0006-libgfortran-missing-include.patch
blob: 7c56d6b1564db52c953e0102b911813e7488c6ed (plain)
1
2
3
4
5
6
7
8
9
10
11
diff -Nur a/libgfortran/io/close.c b/libgfortran/io/close.c
--- a/libgfortran/io/close.c	2018-10-05 15:16:21.000000000 -0500
+++ b/libgfortran/io/close.c	2019-02-22 11:21:54.547170028 -0600
@@ -28,6 +28,7 @@
 #if !HAVE_UNLINK_OPEN_FILE
 #include <string.h>
 #endif
+#include <stdlib.h>
 
 typedef enum
 { CLOSE_DELETE, CLOSE_KEEP, CLOSE_UNSPECIFIED }