summaryrefslogtreecommitdiff
path: root/python/lock.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2010-01-15 18:07:27 +0100
committerJulian Andres Klode <jak@debian.org>2010-01-15 18:07:27 +0100
commitb76e901886d37d0eee8d554a5d977cedd134d353 (patch)
tree04aa5be93d268498d6782f4d8f0c6e6bc4339cf9 /python/lock.cc
parent6caa1261cfa8dd971111f1e8e4af73437c99c7b6 (diff)
downloadpython-apt-b76e901886d37d0eee8d554a5d977cedd134d353.tar.gz
python/lock.cc,python/progress.cc: Include Python.h first to avoid warning.
Diffstat (limited to 'python/lock.cc')
-rw-r--r--python/lock.cc2
1 files changed, 1 insertions, 1 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)