crosstool-ng/packages/gcc/9.4.0/0006-libgfortran-missing-include.patch
Alexey Neyman 86c2982568 Run patches thru manage-packages -P
This refreshes the line numbers, removes any fuzz (which would make any
future forward ports easier) and standardizes the patch/file headers
(which makes them easier to read).

Signed-off-by: Alexey Neyman <stilor@att.net>
2022-02-11 00:47:51 -08:00

15 lines
310 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 @@
#if !HAVE_UNLINK_OPEN_FILE
#include <string.h>
#endif
+#include <stdlib.h>
typedef enum
{ CLOSE_INVALID = - 1, CLOSE_DELETE, CLOSE_KEEP, CLOSE_UNSPECIFIED }