diff options
author | Tim Prouty <tprouty@samba.org> | 2009-01-07 14:33:25 -0800 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-01-07 15:03:16 -0800 |
commit | 61a23c5eea2203721a70a4ad41bfdc6cd1d6a2a7 (patch) | |
tree | fc1a9fafce0305de010dcb4e45ceb07f1c318314 /source4/lib | |
parent | bed05fbf2e73d4e637e9267c2205feae7ae6440e (diff) | |
download | samba-61a23c5eea2203721a70a4ad41bfdc6cd1d6a2a7.tar.gz samba-61a23c5eea2203721a70a4ad41bfdc6cd1d6a2a7.tar.bz2 samba-61a23c5eea2203721a70a4ad41bfdc6cd1d6a2a7.zip |
s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/com/pycom.c | 2 | ||||
-rw-r--r-- | source4/lib/ldb/pyldb.c | 1 | ||||
-rw-r--r-- | source4/lib/messaging/pymessaging.c | 2 | ||||
-rw-r--r-- | source4/lib/registry/pyregistry.c | 2 |
4 files changed, 4 insertions, 3 deletions
diff --git a/source4/lib/com/pycom.c b/source4/lib/com/pycom.c index 55f1fd21be..753b7f8f9d 100644 --- a/source4/lib/com/pycom.c +++ b/source4/lib/com/pycom.c @@ -18,7 +18,7 @@ */ #include "includes.h" -#include <Python.h> +#include "../lib/util/python_util.h" #include "lib/com/com.h" #include "librpc/ndr/libndr.h" #include "libcli/util/pyerrors.h" diff --git a/source4/lib/ldb/pyldb.c b/source4/lib/ldb/pyldb.c index 521fa498aa..b7a78e8f53 100644 --- a/source4/lib/ldb/pyldb.c +++ b/source4/lib/ldb/pyldb.c @@ -26,6 +26,7 @@ */ #include "ldb_includes.h" +#include "../lib/util/python_util.h" #include "pyldb.h" /* There's no Py_ssize_t in 2.4, apparently */ diff --git a/source4/lib/messaging/pymessaging.c b/source4/lib/messaging/pymessaging.c index 4b092e873a..3fa59bde57 100644 --- a/source4/lib/messaging/pymessaging.c +++ b/source4/lib/messaging/pymessaging.c @@ -20,7 +20,7 @@ */ #include "includes.h" -#include <Python.h> +#include "../lib/util/python_util.h" #include "scripting/python/modules.h" #include "libcli/util/pyerrors.h" #include "librpc/rpc/pyrpc.h" diff --git a/source4/lib/registry/pyregistry.c b/source4/lib/registry/pyregistry.c index 444b80a6fe..c28fcaa685 100644 --- a/source4/lib/registry/pyregistry.c +++ b/source4/lib/registry/pyregistry.c @@ -18,7 +18,7 @@ */ #include "includes.h" -#include <Python.h> +#include "../lib/util/python_util.h" #include "libcli/util/pyerrors.h" #include "lib/registry/registry.h" #include "scripting/python/modules.h" /* for py_iconv_convenience() */ |