From fef0367e6edc002aeb98d839410ac066d444e8f5 Mon Sep 17 00:00:00 2001 From: Philippe Waroquiers Date: Tue, 2 Oct 2012 20:35:21 +0000 Subject: [PATCH] =?UTF-8?q?Unbreak=20build=20on=20ppc64=20(error:=20?= =?UTF-8?q?=E2=80=98EmWarn=5FPPC64=5Fredir=5Funderflow=E2=80=99=20undeclar?= =?UTF-8?q?ed)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- coregrind/m_translate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coregrind/m_translate.c b/coregrind/m_translate.c index 30e9caa23..ed355db06 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 ---*/ /*------------------------------------------------------------*/