summaryrefslogtreecommitdiff
path: root/python/cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/cache.cc')
-rw-r--r--python/cache.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/cache.cc b/python/cache.cc
index 126ab15d..e8b947f4 100644
--- a/python/cache.cc
+++ b/python/cache.cc
@@ -17,6 +17,8 @@
#include <apt-pkg/configuration.h>
#include <apt-pkg/sourcelist.h>
#include <apt-pkg/error.h>
+#include <apt-pkg/packagemanager.h>
+#include <apt-pkg/pkgsystem.h>
#include <Python.h>
#include "progress.h"
@@ -114,9 +116,11 @@ static PyObject *PkgCacheUpdate(PyObject *Self,PyObject *Args)
}
+
static PyMethodDef PkgCacheMethods[] =
{
{"Update",PkgCacheUpdate,METH_VARARGS,"Update the cache"},
+ {}
};
static PyObject *CacheAttr(PyObject *Self,char *Name)