summaryrefslogtreecommitdiff
path: root/src/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin.c')
-rw-r--r--src/plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin.c b/src/plugin.c
index 20aec918..73f31328 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -6,7 +6,7 @@
#include <string.h>
#include <stdlib.h>
-#ifdef HAVE_VALGRIND_VALGRIND_H
+#if defined(WITH_VALGRIND)
# include <valgrind/valgrind.h>
#endif
@@ -68,7 +68,7 @@ static void plugin_free(plugin *p) {
#endif
if (p->name) buffer_free(p->name);
-#if defined(HAVE_VALGRIND_VALGRIND_H) && !defined(LIGHTTPD_STATIC)
+#if defined(WITH_VALGRIND) && !defined(LIGHTTPD_STATIC)
/*if (RUNNING_ON_VALGRIND) use_dlclose = 0;*/
#endif