--- a/src/rcldb/rclquery.cpp
+++ b/src/rcldb/rclquery.cpp
@@ -8,7 +8,7 @@
 #include <list>
 #include <vector>
 
-#include "xapian/sorter.h"
+#include "xapian.h"
 
 #include "rcldb.h"
 #include "rcldb_p.h"