Blob Blame History Raw
From: Modestas Vainius <modax@debian.org>
Subject: Include Python.h first as Qt includes steal "slots" keyword
Forwarded: no
Origin: vendor
Last-Update: 2008-12-05

Index: pykde4-4.9.80/kpythonpluginfactory/kpythonpluginfactory.cpp
===================================================================
--- pykde4-4.9.80.orig/kpythonpluginfactory/kpythonpluginfactory.cpp	2012-11-14 16:14:05.000000000 +0000
+++ pykde4-4.9.80/kpythonpluginfactory/kpythonpluginfactory.cpp	2012-11-19 17:23:32.497203781 +0000
@@ -18,6 +18,7 @@
    Boston, MA 02111-1307, USA.
 */
 
+#include <Python.h>
 #include <QtCore/QCoreApplication>
 #include <QFileInfo>
 #include <QDir>
@@ -25,7 +26,6 @@
 #include <klibloader.h>
 #include <kstandarddirs.h>
 #include <kcmodule.h>
-#include <Python.h>
 #include <kcomponentdata.h>
 #include <kdebug.h>