Compilation fails with GCC 4.7 on Fedora 17. This patch resolves it. Author: Jan Vcelak <jvcelak@redhat.com> diff a/src/poller/EpollPoller.cpp b/src/poller/EpollPoller.cpp --- a/src/poller/EpollPoller.cpp +++ b/src/poller/EpollPoller.cpp @@ -30,6 +30,7 @@ respects for all of the code used other #include <sys/epoll.h> #include <errno.h> #include <alloca.h> +#include <unistd.h> EpollPoller::EpollPoller(QObject* parent) : Poller(parent) diff a/src/Queue.cpp b/src/Queue.cpp --- a/src/Queue.cpp +++ b/src/Queue.cpp @@ -30,6 +30,7 @@ respects for all of the code used other #include "QueueMgr.h" #include "Settings.h" #include "engines/PlaceholderTransfer.h" +#include <unistd.h> #include <QList> #include <QReadWriteLock> #include <QDir>