PR 60324 Handle long path names, don't use PATH_MAX.
authorJanne Blomqvist <jb@gcc.gnu.org>
Thu, 22 May 2014 21:17:29 +0000 (00:17 +0300)
committerJanne Blomqvist <jb@gcc.gnu.org>
Thu, 22 May 2014 21:17:29 +0000 (00:17 +0300)
2014-05-23  Janne Blomqvist  <jb@gcc.gnu.org>

PR libfortran/60324
* runtime/string.c: Include stdlib.h.

From-SVN: r210827

libgfortran/ChangeLog
libgfortran/runtime/string.c

index 9f5a39bfcd6808f8b0ccb05f9c8c8a36a9e86144..6fe0974098de075b239bec0d792aed29b4188b03 100644 (file)
@@ -1,3 +1,8 @@
+2014-05-23  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       PR libfortran/60324
+       * runtime/string.c: Include stdlib.h.
+
 2014-05-22  Janne Blomqvist  <jb@gcc.gnu.org>
 
        PR libfortran/60324
index 5beb0fbd97139d670dfd31b81fda53f8804a820c..b95d1997a5c8eab35c7482e2cc1d7735c2bd15aa 100644 (file)
@@ -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