summaryrefslogtreecommitdiffstats
path: root/Python/tracemalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/tracemalloc.c')
-rw-r--r--Python/tracemalloc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Python/tracemalloc.c b/Python/tracemalloc.c
index 1ee040d..82e9c6f 100644
--- a/Python/tracemalloc.c
+++ b/Python/tracemalloc.c
@@ -3,14 +3,12 @@
#include "pycore_gc.h" // PyGC_Head
#include "pycore_hashtable.h" // _Py_hashtable_t
#include "pycore_initconfig.h" // _PyStatus_NO_MEMORY()
+#include "pycore_interpframe.h" // _PyInterpreterFrame
#include "pycore_lock.h" // PyMutex_LockFlags()
#include "pycore_object.h" // _PyType_PreHeaderSize()
#include "pycore_pymem.h" // _Py_tracemalloc_config
#include "pycore_runtime.h" // _Py_ID()
#include "pycore_traceback.h" // _Py_DumpASCII()
-#include <pycore_frame.h>
-
-#include "frameobject.h" // _PyInterpreterFrame_GetLine
#include <stdlib.h> // malloc()