summaryrefslogtreecommitdiff
path: root/pidl
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 /pidl
parentbed05fbf2e73d4e637e9267c2205feae7ae6440e (diff)
downloadsamba-61a23c5eea2203721a70a4ad41bfdc6cd1d6a2a7.tar.gz
s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4
Diffstat (limited to 'pidl')
-rw-r--r--pidl/lib/Parse/Pidl/Samba4/Python.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba4/Python.pm b/pidl/lib/Parse/Pidl/Samba4/Python.pm
index 938ea360285..dd93605527b 100644
--- a/pidl/lib/Parse/Pidl/Samba4/Python.pm
+++ b/pidl/lib/Parse/Pidl/Samba4/Python.pm
@@ -1121,7 +1121,7 @@ sub Parse($$$$$)
$self->pidl_hdr("
/* Python wrapper functions auto-generated by pidl */
#include \"includes.h\"
-#include <Python.h>
+#include \"../lib/util/python_util.h\"
#include \"librpc/rpc/dcerpc.h\"
#include \"lib/talloc/pytalloc.h\"
#include \"librpc/rpc/pyrpc.h\"