aboutsummaryrefslogtreecommitdiff
path: root/src/homedir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/homedir.c')
-rw-r--r--src/homedir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/homedir.c b/src/homedir.c
index fedbdb8fc..3ec196a7e 100644
--- a/src/homedir.c
+++ b/src/homedir.c
@@ -42,8 +42,8 @@
#include "homedir.h"
-#ifdef CURLDEBUG
-#include "../lib/memdebug.h"
+#if defined(CURLDEBUG) && defined(CURLTOOLDEBUG)
+#include "memdebug.h"
#endif
static