--- a/src/index/fsindexer.cpp
+++ b/src/index/fsindexer.cpp
@@ -28,6 +28,7 @@
 
 #include "cstr.h"
 #include "pathut.h"
+#include "rclutil.h"
 #include "conftree.h"
 #include "rclconfig.h"
 #include "fstreewalk.h"