diff --git a/src/qtlibtorrent/alertdispatcher.cpp b/src/qtlibtorrent/alertdispatcher.cpp index ccfd3308c..1ef90885c 100644 --- a/src/qtlibtorrent/alertdispatcher.cpp +++ b/src/qtlibtorrent/alertdispatcher.cpp @@ -30,6 +30,7 @@ #include "alertdispatcher.h" +#include #include #include diff --git a/src/qtlibtorrent/alertdispatcher.h b/src/qtlibtorrent/alertdispatcher.h index aa2a9ec1f..5ebaf9bc1 100644 --- a/src/qtlibtorrent/alertdispatcher.h +++ b/src/qtlibtorrent/alertdispatcher.h @@ -36,7 +36,14 @@ #include #include #include -#include + +#include +#include + +namespace libtorrent { + class session; + class alert; +} class QAlertDispatcher : public QObject { Q_OBJECT