s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4
[tprouty/samba.git] / pidl / lib / Parse / Pidl / Samba4 / Python.pm
index 938ea360285c5086f6a75a8050ad4826c87cb436..dd93605527b90e780d32f2a928a1196b5cfe7a36 100644 (file)
@@ -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\"