1 Backport a patch from upstream to fix test compilation for PPC where
2 system headers don't get included.
4 Upstream-Status: Backport
5 Signed-off-by: Ross Burton <ross.burton@intel.com>
7 r16450 | mjw | 2017-06-16 10:33:35 +0100 (Fri, 16 Jun 2017) | 7 lines
9 ppc64 doesn't compile test_isa_2_06_partx.c without VSX support
11 The #ifdef HAS_VSX guard is wrongly placed. It makes the standard
12 include headers not be used. Causing a build failure. Fix by moving
13 the #ifdef HAS_VSX after the standard includes.
15 Index: none/tests/ppc32/test_isa_2_06_part3.c
16 ===================================================================
17 --- a/none/tests/ppc32/test_isa_2_06_part3.c (revision 16449)
18 +++ b/none/tests/ppc32/test_isa_2_06_part3.c (revision 16450)
20 The GNU General Public License is contained in the file COPYING.
32 #include <unistd.h> // getopt
39 typedef uint32_t HWord_t;
41 Index: none/tests/ppc32/test_isa_2_06_part1.c
42 ===================================================================
43 --- a/none/tests/ppc32/test_isa_2_06_part1.c (revision 16449)
44 +++ b/none/tests/ppc32/test_isa_2_06_part1.c (revision 16450)
46 The GNU General Public License is contained in the file COPYING.
62 Index: none/tests/ppc32/test_isa_2_06_part2.c
63 ===================================================================
64 --- a/none/tests/ppc32/test_isa_2_06_part2.c (revision 16449)
65 +++ b/none/tests/ppc32/test_isa_2_06_part2.c (revision 16450)
67 The GNU General Public License is contained in the file COPYING.
79 #include <unistd.h> // getopt
86 typedef uint32_t HWord_t;