diff options
author | Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2016-12-21 09:49:40 +0000 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2016-12-21 09:49:40 +0000 |
commit | 71d9113f9b0dd357236dcaadda0ddd9faf1607be (patch) | |
tree | 5588f37e2f31e6906457df6b843e50d7ecad0cab /libgfortran/runtime | |
parent | b528e42751b731746d98427fb6d9ec8634a72555 (diff) | |
download | gcc-71d9113f9b0dd357236dcaadda0ddd9faf1607be.zip gcc-71d9113f9b0dd357236dcaadda0ddd9faf1607be.tar.gz gcc-71d9113f9b0dd357236dcaadda0ddd9faf1607be.tar.bz2 |
re PR libfortran/70311 (libgfortran build dies on "implicit declaration of function strncasecmp")
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.
From-SVN: r243843
Diffstat (limited to 'libgfortran/runtime')
-rw-r--r-- | libgfortran/runtime/environ.c | 1 | ||||
-rw-r--r-- | libgfortran/runtime/string.c | 1 |
2 files changed, 2 insertions, 0 deletions
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> |