From 6025ec66e4141915c631e11dcd6f120dc19efe23 Mon Sep 17 00:00:00 2001 From: xiongkun Date: Mon, 12 Jun 2023 11:00:40 +0000 Subject: [PATCH] fix compile --- paddle/fluid/pybind/jit.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/paddle/fluid/pybind/jit.cc b/paddle/fluid/pybind/jit.cc index 99b714253347d..31ec0774a231a 100644 --- a/paddle/fluid/pybind/jit.cc +++ b/paddle/fluid/pybind/jit.cc @@ -15,9 +15,11 @@ limitations under the License. */ #include "paddle/fluid/pybind/jit.h" #include -#include #include +#if PY_VERSION_HEX < 0x030b0000 +#include +#endif #if PY_VERSION_HEX >= 0x030b0000 #include #endif