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
This commit is contained in:
Francois-Xavier Coudert 2016-12-21 09:49:40 +00:00 committed by François-Xavier Coudert
parent b528e42751
commit 71d9113f9b
4 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,10 @@
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.

View File

@ -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 *);

View File

@ -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>

View File

@ -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>