summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-23 11:48:14 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-23 11:48:14 +0100
commit4bbd2cbab73d46d0f8e8ba3fe164b6802b379b06 (patch)
tree641180e8bbf44955874ef4815a59268c9f465e9b /source4
parent00b61ff2cfa145f9c0bcf74a7a2672e1172fb9c1 (diff)
downloadsamba-4bbd2cbab73d46d0f8e8ba3fe164b6802b379b06.tar.gz
samba-4bbd2cbab73d46d0f8e8ba3fe164b6802b379b06.tar.bz2
samba-4bbd2cbab73d46d0f8e8ba3fe164b6802b379b06.zip
pyldb: Provide replacement for sizeargfunc, not available before Python2.5.
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb/pyldb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/pyldb.c b/source4/lib/ldb/pyldb.c
index f4f43a3d0b..ed77added5 100644
--- a/source4/lib/ldb/pyldb.c
+++ b/source4/lib/ldb/pyldb.c
@@ -32,6 +32,7 @@
#if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 5
typedef int Py_ssize_t;
typedef inquiry lenfunc;
+typedef intargfunc sizeargfunc;
#endif
/* Picked out of thin air. To do this properly, we should probably have some part of the