summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/lock.cc2
-rw-r--r--python/progress.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/lock.cc b/python/lock.cc
index d4d45734..fc78c0cb 100644
--- a/python/lock.cc
+++ b/python/lock.cc
@@ -18,9 +18,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*/
+#include <Python.h>
#include <apt-pkg/init.h>
#include <apt-pkg/error.h>
-#include <Python.h>
#include "generic.h"
static PyObject *systemlock_exit(PyObject *self, PyObject *args)
diff --git a/python/progress.cc b/python/progress.cc
index 30f62763..0de54510 100644
--- a/python/progress.cc
+++ b/python/progress.cc
@@ -5,7 +5,7 @@
Progress - Wrapper for the progress related functions
##################################################################### */
-
+#include <Python.h>
#include <iostream>
#include <sys/types.h>
#include <sys/wait.h>