From ec94f2242f5b788a823829317435d5fd165c84c0 Mon Sep 17 00:00:00 2001
From: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Date: Sat, 15 Nov 2014 16:06:55 +0000
Subject: [PATCH] pubtypes-3.c: Include <string.h>.

	* gcc.dg/pubtypes-3.c: Include <string.h>.
	* gcc.dg/pubtypes-4.c: Likewise.

From-SVN: r217605
---
 gcc/testsuite/ChangeLog           | 7 ++++++-
 gcc/testsuite/gcc.dg/pubtypes-3.c | 1 +
 gcc/testsuite/gcc.dg/pubtypes-4.c | 1 +
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index f801173a250b..6ffb5175b3ac 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 f4b0468ab199..cd495352a9d0 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 76d7c4a98052..85e2b5be2af5 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 
 {
-- 
GitLab