summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cache.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cache.c b/src/cache.c
index b3c38c0..8f73233 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -1897,8 +1897,10 @@ void dump_cache(time_t now)
char *record_source(unsigned int index)
{
struct hostsfile *ah;
+#ifdef HAVE_INOTIFY
struct dyndir *dd;
-
+#endif
+
if (index == SRC_CONFIG)
return "config";
else if (index == SRC_HOSTS)