diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index f801173a250b1ed6b0ee383a9bb08059b7869099..6ffb5175b3ac8f430d0810adef9bf4d472c0d664 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,4 +1,9 @@
-2014-10-19  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+2014-11-15  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+	* gcc.dg/pubtypes-3.c: Include <string.h>.
+	* gcc.dg/pubtypes-4.c: Likewise.
+
+2014-11-15  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
 
 	* gcc.dg/darwin-cfstring-format-1.c: Adjust dg-error.
 
diff --git a/gcc/testsuite/gcc.dg/pubtypes-3.c b/gcc/testsuite/gcc.dg/pubtypes-3.c
index f4b0468ab199e2b3f8eef75903537e7ea841bc67..cd495352a9d035268465ae7ebf4a8694fea73ddd 100644
--- a/gcc/testsuite/gcc.dg/pubtypes-3.c
+++ b/gcc/testsuite/gcc.dg/pubtypes-3.c
@@ -9,6 +9,7 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 
 struct used_struct 
 {
diff --git a/gcc/testsuite/gcc.dg/pubtypes-4.c b/gcc/testsuite/gcc.dg/pubtypes-4.c
index 76d7c4a9805273b19a2e0172b8a162eb6bf768be..85e2b5be2af50dc625bca8e892c9fb4f4f1d140b 100644
--- a/gcc/testsuite/gcc.dg/pubtypes-4.c
+++ b/gcc/testsuite/gcc.dg/pubtypes-4.c
@@ -11,6 +11,7 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 
 struct used_struct 
 {