Use python.h from libreplace
[samba.git] / pidl / lib / Parse / Pidl / Samba4 / Python.pm
index 2d1e0610245db00329dd6752157fc3ac8c53628a..432f8724ba06a684d7edb7b318e791f308ecd77c 100644 (file)
@@ -2292,7 +2292,7 @@ sub Parse($$$$$)
     $self->pidl_hdr("
 /* Python wrapper functions auto-generated by pidl */
 #define PY_SSIZE_T_CLEAN 1 /* We use Py_ssize_t for PyArg_ParseTupleAndKeywords */
-#include <Python.h>
+#include \"lib/replace/system/python.h\"
 #include \"python/py3compat.h\"
 #include \"includes.h\"
 #include \"python/modules.h\"