From 4bbd2cbab73d46d0f8e8ba3fe164b6802b379b06 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 23 Dec 2008 11:48:14 +0100 Subject: pyldb: Provide replacement for sizeargfunc, not available before Python2.5. --- source4/lib/ldb/pyldb.c | 1 + 1 file changed, 1 insertion(+) 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 -- cgit