Blame fix_kpythonpluginfactory_build.diff

9e28b77
From: Modestas Vainius <modax@debian.org>
9e28b77
Subject: Include Python.h first as Qt includes steal "slots" keyword
9e28b77
Forwarded: no
9e28b77
Origin: vendor
9e28b77
Last-Update: 2008-12-05
9e28b77
9e28b77
--- a/kpythonpluginfactory/kpythonpluginfactory.cpp
9e28b77
+++ b/kpythonpluginfactory/kpythonpluginfactory.cpp
9e28b77
@@ -18,6 +18,7 @@
9e28b77
    Boston, MA 02111-1307, USA.
9e28b77
 */
9e28b77
 
9e28b77
+#include <Python.h>
9e28b77
 #include <QtCore/QCoreApplication>
9e28b77
 #include <QFileInfo>
9e28b77
 #include <QDir>
9e28b77
@@ -25,7 +26,6 @@
9e28b77
 #include <klibloader.h>
9e28b77
 #include <kstandarddirs.h>
9e28b77
 #include <kcmodule.h>
9e28b77
-#include <Python.h>
9e28b77
 #include <kcomponentdata.h>
9e28b77
 #include <kdebug.h>
9e28b77