aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/runtime/string.c
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/string.c
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/string.c')
-rw-r--r--libgfortran/runtime/string.c1
1 files changed, 1 insertions, 0 deletions
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>