--- a/src/qtgui/recoll.h
+++ b/src/qtgui/recoll.h
@@ -16,7 +16,7 @@
  */
 #ifndef _RECOLL_H_INCLUDED_
 #define _RECOLL_H_INCLUDED_
-/* @(#$Id: recoll.h,v 1.16 2006-09-11 09:08:44 dockes Exp $  (C) 2004 J.F.Dockes */
+/* @(#$Id: recoll.h,v 1.17 2006-10-11 14:16:26 dockes Exp $  (C) 2004 J.F.Dockes */
 #include <string>
 
 #include "rclconfig.h"
@@ -34,5 +34,9 @@
 extern int recollNeedsExit;
 extern const std::string recoll_datadir;
 extern RclHistory *g_dynconf;
+#ifdef RCL_USE_ASPELL
+class Aspell;
+extern Aspell *aspell;
+#endif
 
 #endif /* _RECOLL_H_INCLUDED_ */