Unbreak build on ppc64 (error: ‘EmWarn_PPC64_redir_underflow’ undeclared)
coregrind/m_translate.c does not compile on ppc64 (ppc32 maybe also?)
due to missing include file.
Note: libvex_emnote.h is unconditionally included, even if only
useful for ppc. I suppose we do not want #ifdef for that.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13017 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_translate.c b/coregrind/m_translate.c
index 30e9caa..ed355db 100644
--- a/coregrind/m_translate.c
+++ b/coregrind/m_translate.c
@@ -61,6 +61,8 @@
#include "pub_core_gdbserver.h" // VG_(tool_instrument_then_gdbserver_if_needed)
+#include "libvex_emnote.h" // For PPC, EmWarn_PPC64_redir_underflow
+
/*------------------------------------------------------------*/
/*--- Stats ---*/
/*------------------------------------------------------------*/