summaryrefslogtreecommitdiff
path: root/source4/scripting
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/scripting
parentbed05fbf2e73d4e637e9267c2205feae7ae6440e (diff)
downloadsamba-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/scripting')
-rw-r--r--source4/scripting/python/pyglue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/pyglue.c b/source4/scripting/python/pyglue.c
index 6939979f18..b11b5a5add 100644
--- a/source4/scripting/python/pyglue.c
+++ b/source4/scripting/python/pyglue.c
@@ -25,7 +25,7 @@
#include "lib/ldb-samba/ldif_handlers.h"
#include "librpc/ndr/libndr.h"
#include "version.h"
-#include <Python.h>
+#include "../lib/util/python_util.h"
#include "lib/ldb/pyldb.h"
#include "libcli/util/pyerrors.h"
#include "libcli/security/security.h"