Skip to content

Commit

Permalink
fix compile (#54568) (#54677)
Browse files Browse the repository at this point in the history
  • Loading branch information
2742195759 authored Jun 16, 2023
1 parent e4401c4 commit 76067a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion paddle/fluid/pybind/jit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ limitations under the License. */
#include "paddle/fluid/pybind/jit.h"

#include <Python.h>
#include <code.h>
#include <frameobject.h>

#if PY_VERSION_HEX < 0x030b0000
#include <code.h>
#endif
#if PY_VERSION_HEX >= 0x030b0000
#include <internal/pycore_frame.h>
#endif
Expand Down

0 comments on commit 76067a3

Please sign in to comment.