--- a/src/mk/commondefs
+++ b/src/mk/commondefs
@@ -1,9 +1,15 @@
 
 # Common/default for all systems, can be overridden by sys-specific include
 
-COMMONCXXFLAGS = -I. -I$(depth)/index \
-	       -I$(depth)/utils -I$(depth)/common \
-	       -I$(depth)/unac -I$(depth)/bincimapmime -I$(depth)/aspell \
+COMMONCXXFLAGS = -I. \
+	       -I$(depth)/aspell \
+	       -I$(depth)/bincimapmime \
+	       -I$(depth)/common \
+	       -I$(depth)/index \
+	       -I$(depth)/internfile \
+	       -I$(depth)/rcldb \
+	       -I$(depth)/unac \
+	       -I$(depth)/utils \
 	       -I/usr/local/include
 
 # We happen to be using gcc on all platforms for now. Can be overridden in