diff --git a/filpreload/src/_filpreload.c b/filpreload/src/_filpreload.c index 60e8bb6..73a52f7 100644 --- a/filpreload/src/_filpreload.c +++ b/filpreload/src/_filpreload.c @@ -1,3 +1,4 @@ +#define Py_BUILD_CORE 1 #include "Python.h" #include "ceval.h" #include "pyframe.h" @@ -27,7 +28,8 @@ #include #if PY_MINOR_VERSION < 9 -PyFrameObject *PyFrame_GetBack(PyFrameObject *frame) { + PyFrameObject * + PyFrame_GetBack(PyFrameObject *frame) { if (frame->f_back != NULL) { Py_INCREF(frame->f_back); }