diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx index 09f0a4d4e4f1..c31b953170ba 100644 --- a/desktop/inc/app.hxx +++ b/desktop/inc/app.hxx @@ -41,8 +41,9 @@ #include #include #include + #ifdef ENABLE_TELEPATHY -#include +class TeleManager; #endif using namespace com::sun::star::task; diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 6d5ea30b08c2..4e76579c3cd4 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -102,6 +102,10 @@ #include "langselect.hxx" +#ifdef ENABLE_TELEPATHY +#include +#endif + #if defined MACOSX #include #include