From 920db696cb53122bec0c8a83087852e7e8c018f0 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 24 Jun 2014 18:50:50 +0100 Subject: 32789: --enable-zsh-valgrind allows analysis of heap allocation --- Src/zsh_system.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Src/zsh_system.h') diff --git a/Src/zsh_system.h b/Src/zsh_system.h index 6887a135b..601de69f6 100644 --- a/Src/zsh_system.h +++ b/Src/zsh_system.h @@ -877,3 +877,8 @@ extern short ospeed; # endif # endif #endif + +#ifdef ZSH_VALGRIND +# include "valgrind/valgrind.h" +# include "valgrind/memcheck.h" +#endif -- cgit 1.4.1