crosstool-ng/packages/gcc-linaro/7.4-2019.02/0007-libgfortran-missing-include.patch

15 lines
281 B
Diff
Raw Normal View History

---
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