diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2014-05-23 00:17:29 +0300 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2014-05-23 00:17:29 +0300 |
commit | 410e3e10dd4bd96ac933aa8294ee91fd91a5dd6e (patch) | |
tree | f72272458a4008e823c063af476c2db111f1b6c5 /libgfortran/runtime/string.c | |
parent | 0a1eb35020de1c6379c8cab591f6474e94a03c5b (diff) | |
download | gcc-410e3e10dd4bd96ac933aa8294ee91fd91a5dd6e.zip gcc-410e3e10dd4bd96ac933aa8294ee91fd91a5dd6e.tar.gz gcc-410e3e10dd4bd96ac933aa8294ee91fd91a5dd6e.tar.bz2 |
PR 60324 Handle long path names, don't use PATH_MAX.
2014-05-23 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/60324
* runtime/string.c: Include stdlib.h.
From-SVN: r210827
Diffstat (limited to 'libgfortran/runtime/string.c')
-rw-r--r-- | libgfortran/runtime/string.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgfortran/runtime/string.c b/libgfortran/runtime/string.c index 5beb0fb..b95d199 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 <string.h> +#include <stdlib.h> /* Given a fortran string, return its length exclusive of the trailing |