diff options
author | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-12-21 09:49:40 +0000 |
---|---|---|
committer | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-12-21 09:49:40 +0000 |
commit | c101bae7427a558698c95445d1cad970c28ef133 (patch) | |
tree | 5588f37e2f31e6906457df6b843e50d7ecad0cab /libgfortran/runtime | |
parent | 670b225d6c03b803166555ba13b981ffdcb10706 (diff) |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243843 138bc75d-0d04-0410-961f-82ee72b054a4
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 07c6351a8d9..280f53303fa 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 bb486d9bb6b..21505730ccb 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> |