diff options
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 5 | ||||
-rw-r--r-- | libgfortran/runtime/string.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 9f5a39bfcd6..6fe0974098d 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -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 diff --git a/libgfortran/runtime/string.c b/libgfortran/runtime/string.c index 5beb0fbd971..b95d1997a5c 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 |