From ea3c4ca872e8fe9e5efbc1b299ec4df34a8d4890 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Fri, 8 Oct 2004 14:37:40 +0000 Subject: [PATCH] darwin-longdouble.c: Include stdlib.h and string.h. 2004-10-08 Andrew Pinski * gcc.dg/darwin-longdouble.c: Include stdlib.h and string.h. * gcc.dg/darwin-abi-2.c: Include stdlib.h. From-SVN: r88757 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/darwin-abi-2.c | 1 + gcc/testsuite/gcc.dg/darwin-longdouble.c | 2 ++ 3 files changed, 8 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 81dbc32754f..e83378b7e89 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-10-08 Andrew Pinski + + * gcc.dg/darwin-longdouble.c: Include stdlib.h and string.h. + * gcc.dg/darwin-abi-2.c: Include stdlib.h. + 2004-10-08 Christian Ehrhardt * gcc.dg/ultrasp11.c: New test. diff --git a/gcc/testsuite/gcc.dg/darwin-abi-2.c b/gcc/testsuite/gcc.dg/darwin-abi-2.c index 81da83c424f..4764831e847 100644 --- a/gcc/testsuite/gcc.dg/darwin-abi-2.c +++ b/gcc/testsuite/gcc.dg/darwin-abi-2.c @@ -5,6 +5,7 @@ tests that the ABI is correct. */ #include +#include #define vector __attribute__((vector_size(16))) diff --git a/gcc/testsuite/gcc.dg/darwin-longdouble.c b/gcc/testsuite/gcc.dg/darwin-longdouble.c index 54f090ddff6..8e4259af350 100644 --- a/gcc/testsuite/gcc.dg/darwin-longdouble.c +++ b/gcc/testsuite/gcc.dg/darwin-longdouble.c @@ -3,6 +3,8 @@ /* No options so 'long long' can be used. */ #include +#include +#include typedef unsigned long long uint64_t; typedef uint64_t ldbits[2]; -- 2.30.2