summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.h
diff options
context:
space:
mode:
Diffstat (limited to 'python/apt_pkgmodule.h')
-rw-r--r--python/apt_pkgmodule.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/apt_pkgmodule.h b/python/apt_pkgmodule.h
index 85c34130..1eb0e2f1 100644
--- a/python/apt_pkgmodule.h
+++ b/python/apt_pkgmodule.h
@@ -45,7 +45,9 @@ extern PyTypeObject PyTagSection_Type;
extern PyTypeObject PyTagFile_Type;
extern char *doc_ParseSection;
extern char *doc_ParseTagFile;
+#ifdef HAVE_OPEN_MEMSTREAM
extern char *doc_RewriteSection;
+#endif
PyObject *ParseSection(PyObject *self,PyObject *Args);
PyObject *ParseTagFile(PyObject *self,PyObject *Args);
PyObject *RewriteSection(PyObject *self,PyObject *Args);