summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index b9ba4b84d5..297f38ae97 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -433,6 +433,11 @@
#include <com_err.h>
#endif
+#if HAVE_VALGRIND_H
+/* Special macros that are no-ops except when run under Valgrind on x86. */
+#include <valgrind.h>
+#endif
+
/* we support ADS if we want it and have krb5 and ldap libs */
#if defined(WITH_ADS) && defined(HAVE_KRB5) && defined(HAVE_LDAP)
#define HAVE_ADS