Blame fix_kpythonpluginfactory_build.diff

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