blob: 71f5928c1fde7dd5f87fb2572792955adefaf505 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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>
|