crosstool-ng/packages/gcc-linaro/7.4-2019.02/0007-libgfortran-missing-include.patch
Alexey Neyman 91d01a0e47 Another wave of version updates
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-13 22:47:07 -08:00

15 lines
281 B
Diff

---
libgfortran/io/close.c | 1 +
1 file changed, 1 insertion(+)
--- a/libgfortran/io/close.c
+++ b/libgfortran/io/close.c
@@ -25,6 +25,7 @@
#include "io.h"
#include "unix.h"
#include <limits.h>
+#include <stdlib.h>
#if !HAVE_UNLINK_OPEN_FILE
#include <string.h>
#endif