From 76067a3b8d83ae89e670dbef1371811a2d04b16a Mon Sep 17 00:00:00 2001 From: xiongkun Date: Fri, 16 Jun 2023 17:56:42 +0800 Subject: [PATCH] fix compile (#54568) (#54677) --- 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