Must include config-plasma.h *before* the #ifndefs...

This commit is contained in:
David Faure 2011-09-02 10:50:04 +02:00
parent 24bd3d69eb
commit 55240b8f31
2 changed files with 4 additions and 1 deletions

View File

@ -40,6 +40,8 @@
#include <ktemporaryfile.h>
#include <kzip.h>
#include "config-plasma.h"
#ifndef PLASMA_NO_KIO
#include <kio/copyjob.h>
#include <kio/deletejob.h>
@ -47,7 +49,6 @@
#include <kio/job.h>
#endif
#include "config-plasma.h"
#include "packagestructure.h"
#include "pluginloader.h"
#include "private/package_p.h"

View File

@ -27,6 +27,8 @@
#include <ktemporaryfile.h>
#include <kplugininfo.h>
#include "config-plasma.h"
#ifndef PLASMA_NO_KIO
#include <kio/job.h>
#endif