From 410e3e10dd4bd96ac933aa8294ee91fd91a5dd6e Mon Sep 17 00:00:00 2001 From: Janne Blomqvist Date: Fri, 23 May 2014 00:17:29 +0300 Subject: [PATCH] PR 60324 Handle long path names, don't use PATH_MAX. 2014-05-23 Janne Blomqvist PR libfortran/60324 * runtime/string.c: Include stdlib.h. From-SVN: r210827 --- libgfortran/ChangeLog | 5 +++++ libgfortran/runtime/string.c | 1 + 2 files changed, 6 insertions(+) diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 9f5a39bfcd68..6fe0974098de 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2014-05-23 Janne Blomqvist + + PR libfortran/60324 + * runtime/string.c: Include stdlib.h. + 2014-05-22 Janne Blomqvist PR libfortran/60324 diff --git a/libgfortran/runtime/string.c b/libgfortran/runtime/string.c index 5beb0fbd9713..b95d1997a5c8 100644 --- a/libgfortran/runtime/string.c +++ b/libgfortran/runtime/string.c @@ -24,6 +24,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "libgfortran.h" #include +#include /* Given a fortran string, return its length exclusive of the trailing -- 2.47.3