Communi backend: fix compilation with boost 1.54/Qt 4.8+
This commit is contained in:
parent
ff1732dabf
commit
47b1db7f43
2 changed files with 4 additions and 3 deletions
|
@ -19,15 +19,14 @@
|
|||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef Q_MOC_RUN
|
||||
#include "transport/config.h"
|
||||
#include "transport/networkplugin.h"
|
||||
#include "session.h"
|
||||
#include <QtCore>
|
||||
#include <QtNetwork>
|
||||
#include "Swiften/EventLoop/Qt/QtEventLoop.h"
|
||||
#include "ircnetworkplugin.h"
|
||||
|
||||
#endif
|
||||
|
||||
class IRCNetworkPlugin : public QObject, public NetworkPlugin {
|
||||
Q_OBJECT
|
||||
|
|
|
@ -21,11 +21,13 @@
|
|||
#ifndef SESSION_H
|
||||
#define SESSION_H
|
||||
|
||||
#ifndef Q_MOC_RUN
|
||||
#include <IrcSession>
|
||||
#include <transport/networkplugin.h>
|
||||
#include "Swiften/Swiften.h"
|
||||
#include <boost/smart_ptr/make_shared.hpp>
|
||||
#include <QTimer>
|
||||
#endif
|
||||
|
||||
using namespace Transport;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue