From 01be28d829b48b576564ce7d5c45570b0f42e2ee Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Fri, 2 Sep 2005 18:13:47 +0000 Subject: 20030711-1.c: Include stddef.h and stdio.h. 2005-08-31 Andrew Pinski * gcc.dg/20030711-1.c: Include stddef.h and stdio.h. * gcc.dg/20050826-1.c: Likewise. From-SVN: r103789 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/20030711-1.c | 2 ++ gcc/testsuite/gcc.dg/20050826-1.c | 2 ++ 3 files changed, 9 insertions(+) (limited to 'gcc') diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6da1500..852641f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-08-31 Andrew Pinski + + * gcc.dg/20030711-1.c: Include stddef.h and stdio.h. + * gcc.dg/20050826-1.c: Likewise. + 2005-08-31 Mark Mitchell PR c++/23167 diff --git a/gcc/testsuite/gcc.dg/20030711-1.c b/gcc/testsuite/gcc.dg/20030711-1.c index edba6b7..e76f54f 100644 --- a/gcc/testsuite/gcc.dg/20030711-1.c +++ b/gcc/testsuite/gcc.dg/20030711-1.c @@ -2,6 +2,8 @@ nor any code with memcmp semantics. */ /* { dg-do run { target i?86-*-linux* x86_64-*-linux* ia64-*-linux* alpha*-*-linux* powerpc*-*-linux* s390*-*-linux* sparc*-*-linux* *-*-darwin* } } */ /* { dg-options "-O2" } */ +#include +#include #include #ifndef MAP_ANONYMOUS #define MAP_ANONYMOUS MAP_ANON diff --git a/gcc/testsuite/gcc.dg/20050826-1.c b/gcc/testsuite/gcc.dg/20050826-1.c index 951f6bc..7563ec7 100644 --- a/gcc/testsuite/gcc.dg/20050826-1.c +++ b/gcc/testsuite/gcc.dg/20050826-1.c @@ -2,6 +2,8 @@ nor any code with memcmp semantics. */ /* { dg-do run { target i?86-*-linux* x86_64-*-linux* ia64-*-linux* alpha*-*-linux* powerpc*-*-linux* s390*-*-linux* sparc*-*-linux* i?86-*-darwin* powerpc-*-darwin*} } */ /* { dg-options "-O2" } */ +#include +#include #include /* Darwin spells this differently */ #ifndef MAP_ANONYMOUS -- cgit v1.1