From 61a23c5eea2203721a70a4ad41bfdc6cd1d6a2a7 Mon Sep 17 00:00:00 2001 From: Tim Prouty Date: Wed, 7 Jan 2009 14:33:25 -0800 Subject: s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4 --- source4/librpc/ndr/py_security.c | 1 + source4/librpc/rpc/pyrpc.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/librpc') diff --git a/source4/librpc/ndr/py_security.c b/source4/librpc/ndr/py_security.c index 73837b67ef..5311ce18f4 100644 --- a/source4/librpc/ndr/py_security.c +++ b/source4/librpc/ndr/py_security.c @@ -16,6 +16,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#include "../lib/util/python_util.h" #include "libcli/security/security.h" static void PyType_AddMethods(PyTypeObject *type, PyMethodDef *methods) diff --git a/source4/librpc/rpc/pyrpc.c b/source4/librpc/rpc/pyrpc.c index b841fdad65..1f29ad143e 100644 --- a/source4/librpc/rpc/pyrpc.c +++ b/source4/librpc/rpc/pyrpc.c @@ -18,7 +18,7 @@ */ #include "includes.h" -#include +#include "../lib/util/python_util.h" #include #include "librpc/rpc/pyrpc.h" #include "librpc/rpc/dcerpc.h" -- cgit