aboutsummaryrefslogtreecommitdiff
path: root/include/exec/helper-tcg.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-04-13 10:10:08 +0200
committerRichard Henderson <richard.henderson@linaro.org>2021-05-01 11:44:13 -0700
commitdb647703ba9d82519363c107715f562187fbcc16 (patch)
tree50a520158acbbf15562b6abacff329d8a4747442 /include/exec/helper-tcg.h
parent8f860d2633baf9c2b6261f703f86e394c6bc22ca (diff)
downloadqemu-db647703ba9d82519363c107715f562187fbcc16.zip
qemu-db647703ba9d82519363c107715f562187fbcc16.tar.gz
qemu-db647703ba9d82519363c107715f562187fbcc16.tar.bz2
exec: Remove accel/tcg/ from include paths
When TCG is enabled, the accel/tcg/ include path is added to the project global include search list. This accel/tcg/ directory contains a header named "internal.h" which, while intented to be internal to accel/tcg/, is accessible by all files compiled when TCG is enabled. This might lead to problem with other directories using the same "internal.h" header name: $ git ls-files | fgrep /internal.h accel/tcg/internal.h include/hw/ide/internal.h target/hexagon/internal.h target/mips/internal.h target/ppc/internal.h target/s390x/internal.h As we don't need to expose accel/tcg/ internals to the rest of the code base, simplify by removing it from the include search list, and include the accel/tcg/ public headers relative to the project root search path (which is already in the generic include search path). Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Claudio Fontana <cfontana@suse.de> Message-Id: <20210413081008.3409459-1-f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec/helper-tcg.h')
-rw-r--r--include/exec/helper-tcg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/exec/helper-tcg.h b/include/exec/helper-tcg.h
index 2787050..6888514 100644
--- a/include/exec/helper-tcg.h
+++ b/include/exec/helper-tcg.h
@@ -60,8 +60,8 @@
#include "helper.h"
#include "trace/generated-helpers.h"
-#include "tcg-runtime.h"
-#include "plugin-helpers.h"
+#include "accel/tcg/tcg-runtime.h"
+#include "accel/tcg/plugin-helpers.h"
#undef str
#undef DEF_HELPER_FLAGS_0