re PR libfortran/70311 (libgfortran build dies on "implicit declaration of function...
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Wed, 21 Dec 2016 09:49:40 +0000 (09:49 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Wed, 21 Dec 2016 09:49:40 +0000 (09:49 +0000)
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

libgfortran/ChangeLog
libgfortran/intrinsics/selected_char_kind.c
libgfortran/runtime/environ.c
libgfortran/runtime/string.c

index 2c24253b6403e4533b90300fbde2cdecd9acd8b4..c98e5890cbe2239f467e0ae80853d35fe2b51907 100644 (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.
index bbb95a93cdc2baa6a8a06a8968094dea880b2243..8e400a45e6465c8603beda3628f890ac3a127d2d 100644 (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 *);
index 07c6351a8d9aded7054767ae2f58c9eab29477a4..280f53303fa675a082241278c8eec2a6fa1fdafb 100644 (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>
 
index bb486d9bb6b2fef46811f4b7e6c945635953e109..21505730ccb7485ce97a0b41a060fe26e1b50960 100644 (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>