This fixes double-definitions in *-user builds when using the UST tracing backend (which indirectly includes the system's "syscall.h").
Changes in v2 ============= * Fix includes for bsd-user too [Peter Maydell] Signed-off-by: Lluís Vilanova <vilan...@ac.upc.edu> --- Lluís Vilanova (2): build: [linux-user] Rename all "syscall.h" in target directories to "target_syscall.h" build: [bsd-user] Rename all "syscall.h" in target directories to "target_syscall.h" bsd-user/i386/target_syscall.h | 4 ++++ bsd-user/qemu.h | 2 +- bsd-user/sparc/target_syscall.h | 5 +++++ bsd-user/sparc64/target_syscall.h | 5 +++++ bsd-user/x86_64/target_syscall.h | 5 +++++ linux-user/aarch64/target_syscall.h | 5 +++++ linux-user/alpha/target_syscall.h | 5 +++++ linux-user/arm/target_syscall.h | 4 ++++ linux-user/cris/target_syscall.h | 0 linux-user/i386/target_syscall.h | 5 +++++ linux-user/m68k/target_syscall.h | 4 ++++ linux-user/mips/target_syscall.h | 4 ++++ linux-user/mips64/target_syscall.h | 4 ++++ linux-user/openrisc/target_syscall.h | 5 +++++ linux-user/ppc/target_syscall.h | 5 +++++ linux-user/qemu.h | 2 +- linux-user/s390x/target_syscall.h | 5 +++++ linux-user/sh4/target_syscall.h | 5 +++++ linux-user/sparc/target_syscall.h | 5 +++++ linux-user/sparc64/target_syscall.h | 5 +++++ linux-user/unicore32/target_syscall.h | 0 linux-user/x86_64/target_syscall.h | 5 +++++ target-microblaze/target_syscall.h | 1 + target-tilegx/target_syscall.h | 1 + 24 files changed, 89 insertions(+), 2 deletions(-) rename bsd-user/i386/{syscall.h => target_syscall.h} (97%) rename bsd-user/sparc/{syscall.h => target_syscall.h} (62%) rename bsd-user/sparc64/{syscall.h => target_syscall.h} (66%) rename bsd-user/x86_64/{syscall.h => target_syscall.h} (97%) rename linux-user/aarch64/{syscall.h => target_syscall.h} (80%) rename linux-user/alpha/{syscall.h => target_syscall.h} (98%) rename linux-user/arm/{syscall.h => target_syscall.h} (93%) rename linux-user/cris/{syscall.h => target_syscall.h} (100%) rename linux-user/i386/{syscall.h => target_syscall.h} (97%) rename linux-user/m68k/{syscall.h => target_syscall.h} (87%) rename linux-user/mips/{syscall.h => target_syscall.h} (99%) rename linux-user/mips64/{syscall.h => target_syscall.h} (99%) rename linux-user/openrisc/{syscall.h => target_syscall.h} (90%) rename linux-user/ppc/{syscall.h => target_syscall.h} (96%) rename linux-user/s390x/{syscall.h => target_syscall.h} (89%) rename linux-user/sh4/{syscall.h => target_syscall.h} (83%) rename linux-user/sparc/{syscall.h => target_syscall.h} (87%) rename linux-user/sparc64/{syscall.h => target_syscall.h} (87%) rename linux-user/unicore32/{syscall.h => target_syscall.h} (100%) rename linux-user/x86_64/{syscall.h => target_syscall.h} (96%) create mode 100644 target-microblaze/target_syscall.h create mode 100644 target-tilegx/target_syscall.h To: qemu-devel@nongnu.org Cc: Peter Maydell <peter.mayd...@linaro.org>