aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/runtime
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2016-12-21 09:49:40 +0000
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2016-12-21 09:49:40 +0000
commit71d9113f9b0dd357236dcaadda0ddd9faf1607be (patch)
tree5588f37e2f31e6906457df6b843e50d7ecad0cab /libgfortran/runtime
parentb528e42751b731746d98427fb6d9ec8634a72555 (diff)
downloadgcc-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.c1
-rw-r--r--libgfortran/runtime/string.c1
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>