darwin-longdouble.c: Include stdlib.h and string.h.
authorAndrew Pinski <pinskia@physics.uc.edu>
Fri, 8 Oct 2004 14:37:40 +0000 (14:37 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Fri, 8 Oct 2004 14:37:40 +0000 (07:37 -0700)
2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>

        * 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
gcc/testsuite/gcc.dg/darwin-abi-2.c
gcc/testsuite/gcc.dg/darwin-longdouble.c

index 81dbc32754fad5b7b08f8ae4b242139cb79b2025..e83378b7e89ece137b436e5fa430a02c65984071 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * 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  <ehrhardt@mathematik.uni-ulm.de>
 
        * gcc.dg/ultrasp11.c: New test.
index 81da83c424fe2909cb9c50ab494f65147ba98756..4764831e847dacd1d2f7aeaa084f5fa65c0e482f 100644 (file)
@@ -5,6 +5,7 @@
    tests that the ABI is correct.  */
 
 #include <stdio.h>
+#include <stdlib.h>
 
 #define vector __attribute__((vector_size(16)))
 
index 54f090ddff6b60d34a000ed431cde79e38eefab5..8e4259af350adcf37b116c4c42cfcb7d255c5745 100644 (file)
@@ -3,6 +3,8 @@
 /* No options so 'long long' can be used.  */
 
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 
 typedef unsigned long long uint64_t;
 typedef uint64_t ldbits[2];