Index: ChangeLog =================================================================== --- ChangeLog (revision 243841) +++ ChangeLog (working copy) @@ -1,5 +1,12 @@ 2016-12-21 Francois-Xavier Coudert + PR libfortran/70311 + * intrinsics/selected_char_kind.c: Include header. + * runtime/environ.c: Include header. + * runtime/string.c: Include header. + +2016-12-21 Francois-Xavier Coudert + * gfortran.map: Remove _gfortran_ftell2. * io/intrinsics.c (ftell): Remove. (ftell2): Rename to ftell. Index: intrinsics/selected_char_kind.c =================================================================== --- intrinsics/selected_char_kind.c (revision 243826) +++ intrinsics/selected_char_kind.c (working copy) @@ -25,7 +25,7 @@ see the files COPYING3 and COPYING.RUNTI #include "libgfortran.h" -#include +#include extern GFC_INTEGER_4 selected_char_kind (gfc_charlen_type, char *); Index: runtime/environ.c =================================================================== --- runtime/environ.c (revision 243826) +++ runtime/environ.c (working copy) @@ -25,6 +25,7 @@ see the files COPYING3 and COPYING.RUNTI #include "libgfortran.h" #include +#include #include #include Index: runtime/string.c =================================================================== --- runtime/string.c (revision 243826) +++ runtime/string.c (working copy) @@ -24,6 +24,7 @@ see the files COPYING3 and COPYING.RUNTI #include "libgfortran.h" #include +#include #include