summaryrefslogtreecommitdiff
path: root/source4/lib/registry/pyregistry.c
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-01-07 14:33:25 -0800
committerTim Prouty <tprouty@samba.org>2009-01-07 15:03:16 -0800
commit61a23c5eea2203721a70a4ad41bfdc6cd1d6a2a7 (patch)
treefc1a9fafce0305de010dcb4e45ceb07f1c318314 /source4/lib/registry/pyregistry.c
parentbed05fbf2e73d4e637e9267c2205feae7ae6440e (diff)
downloadsamba-61a23c5eea2203721a70a4ad41bfdc6cd1d6a2a7.tar.gz
s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4
Diffstat (limited to 'source4/lib/registry/pyregistry.c')
-rw-r--r--source4/lib/registry/pyregistry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/pyregistry.c b/source4/lib/registry/pyregistry.c
index 444b80a6fef..c28fcaa6851 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() */