direct-move.h: Include string.h/stdlib.h.
authorPat Haugen <pthaugen@us.ibm.com>
Wed, 25 Feb 2015 17:35:07 +0000 (17:35 +0000)
committerPat Haugen <pthaugen@gcc.gnu.org>
Wed, 25 Feb 2015 17:35:07 +0000 (17:35 +0000)
* gcc.target/powerpc/direct-move.h: Include string.h/stdlib.h.
* gcc.target/powerpc/pack01.c: Include string.h.

From-SVN: r220984

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/direct-move.h
gcc/testsuite/gcc.target/powerpc/pack01.c

index 199b967c07ca45d775c820b2d3f3bed617925d3a..28db896e243cb2e1285fdbac328ee28a15c60ab5 100644 (file)
@@ -1,3 +1,8 @@
+2015-02-25  Pat Haugen  <pthaugen@us.ibm.com>
+
+       * gcc.target/powerpc/direct-move.h: Include string.h/stdlib.h.
+       * gcc.target/powerpc/pack01.c: Include string.h.
+
 2015-02-25  Ilya Enkovich  <ilya.enkovich@intel.com>
 
        PR target/65167
index 6a5b7ba18061a6d87fd163bba2a4368c9055ff61..e29f10f5cd54f304dc316b1b45e59728a2bbc7ed 100644 (file)
@@ -1,6 +1,8 @@
 /* Test functions for direct move support.  */
 
 #include <math.h>
+#include <string.h>
+#include <stdlib.h>
 extern void abort (void);
 
 #ifndef VSX_REG_ATTR
index 8c9e4526959cc93464be5a9a2690cdd828897c71..d0d9a7e9e801d35da38317a01c2fbe66e2b0cc06 100644 (file)
@@ -8,6 +8,7 @@
 #include <stddef.h>
 #include <stdlib.h>
 #include <altivec.h>
+#include <string.h>
 
 #ifdef DEBUG
 #include <stdio.h>