未验证 提交 a7f8a349 编写于 作者: X xiongkun 提交者: GitHub

fix compile (#54568)

上级 bb848e6b
...@@ -15,9 +15,11 @@ limitations under the License. */ ...@@ -15,9 +15,11 @@ limitations under the License. */
#include "paddle/fluid/pybind/jit.h" #include "paddle/fluid/pybind/jit.h"
#include <Python.h> #include <Python.h>
#include <code.h>
#include <frameobject.h> #include <frameobject.h>
#if PY_VERSION_HEX < 0x030b0000
#include <code.h>
#endif
#if PY_VERSION_HEX >= 0x030b0000 #if PY_VERSION_HEX >= 0x030b0000
#include <internal/pycore_frame.h> #include <internal/pycore_frame.h>
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册