Include valgrind.h if present on the system.
authorMartin Pool <mbp@samba.org>
Mon, 10 Mar 2003 00:45:28 +0000 (00:45 +0000)
committerMartin Pool <mbp@samba.org>
Mon, 10 Mar 2003 00:45:28 +0000 (00:45 +0000)
source/include/includes.h

index b9ba4b84d5b53607a020dca6d1ba36e8f524a7ed..297f38ae9755ba9ec201809c0ac0652a86ead666 100644 (file)
 #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