diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2014-06-24 18:50:50 +0100 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2014-06-24 18:50:50 +0100 |
commit | 920db696cb53122bec0c8a83087852e7e8c018f0 (patch) | |
tree | 36e6b31f8eea75fe72dd9132342bdfcf94338ab3 /Src/zsh_system.h | |
parent | 0853bcfdd6a90fb4e6a9b7428d9b2a4975af717e (diff) | |
download | zsh-920db696cb53122bec0c8a83087852e7e8c018f0.tar.gz zsh-920db696cb53122bec0c8a83087852e7e8c018f0.tar.xz zsh-920db696cb53122bec0c8a83087852e7e8c018f0.zip |
32789: --enable-zsh-valgrind allows analysis of heap allocation
Diffstat (limited to 'Src/zsh_system.h')
-rw-r--r-- | Src/zsh_system.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |