--- a/src/main.hxx
+++ b/src/main.hxx
@@ -22,6 +22,7 @@
 
 extern std::string g_configfilename;
 extern std::string g_datadir;
+extern std::string g_cachedir;
 extern bool g_enableL16;
 extern bool g_lumincompat;
 class ConfSimple;