diff options
-rw-r--r-- | libgfortran/ChangeLog | 7 | ||||
-rw-r--r-- | libgfortran/intrinsics/selected_char_kind.c | 2 | ||||
-rw-r--r-- | libgfortran/runtime/environ.c | 1 | ||||
-rw-r--r-- | libgfortran/runtime/string.c | 1 |
4 files changed, 10 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 2c24253..c98e589 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,5 +1,12 @@ 2016-12-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + PR libfortran/70311 + * intrinsics/selected_char_kind.c: Include <strings.h> header. + * runtime/environ.c: Include <strings.h> header. + * runtime/string.c: Include <strings.h> header. + +2016-12-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + * gfortran.map: Remove _gfortran_ftell2. * io/intrinsics.c (ftell): Remove. (ftell2): Rename to ftell. diff --git a/libgfortran/intrinsics/selected_char_kind.c b/libgfortran/intrinsics/selected_char_kind.c index bbb95a9..8e400a4 100644 --- a/libgfortran/intrinsics/selected_char_kind.c +++ b/libgfortran/intrinsics/selected_char_kind.c @@ -25,7 +25,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "libgfortran.h" -#include <string.h> +#include <strings.h> extern GFC_INTEGER_4 selected_char_kind (gfc_charlen_type, char *); diff --git a/libgfortran/runtime/environ.c b/libgfortran/runtime/environ.c index 07c6351..280f533 100644 --- a/libgfortran/runtime/environ.c +++ b/libgfortran/runtime/environ.c @@ -25,6 +25,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "libgfortran.h" #include <string.h> +#include <strings.h> #include <stdlib.h> #include <ctype.h> diff --git a/libgfortran/runtime/string.c b/libgfortran/runtime/string.c index bb486d9..2150573 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 <strings.h> #include <stdlib.h> |