crosstool-ng/patches/gcc/6.3.0/900-libgfortran-missing-include.patch
Dirk Vanden Boer 272f62285d Added patch for gcc compilation error with fortran enabled
Signed-off-by: Dirk Vanden Boer <dirk.vdb@gmail.com>
2017-01-18 19:32:03 +01:00

11 lines
311 B
Diff

--- gcc-6.3.0/libgfortran/io/close.c.org 2017-01-17 09:43:48.395850000 +0100
+++ gcc-6.3.0/libgfortran/io/close.c 2017-01-17 09:21:05.000000000 +0100
@@ -25,6 +25,7 @@
#include "io.h"
#include "unix.h"
#include <limits.h>
+#include <stdlib.h>
typedef enum
{ CLOSE_DELETE, CLOSE_KEEP, CLOSE_UNSPECIFIED }