summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-04-14 12:26:24 (GMT)
committerGitHub <noreply@github.com>2020-04-14 12:26:24 (GMT)
commit4a3fe0835310643193ea45529ab0fb45c5f8f2fd (patch)
tree6d112c3be1763e9185f805d19581347d1fc332ee /Objects/longobject.c
parent8ef875028a3644a329c87ce420a73793e315143f (diff)
downloadcpython-4a3fe0835310643193ea45529ab0fb45c5f8f2fd.zip
cpython-4a3fe0835310643193ea45529ab0fb45c5f8f2fd.tar.gz
cpython-4a3fe0835310643193ea45529ab0fb45c5f8f2fd.tar.bz2
bpo-40268: Include explicitly pycore_interp.h (GH-19505)
pycore_pystate.h no longer includes pycore_interp.h: it's now included explicitly in files accessing PyInterpreterState.
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r--Objects/longobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index a66e1c4..a0bb6bc 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -3,7 +3,8 @@
/* XXX The functional organization of this file is terrible */
#include "Python.h"
-#include "pycore_pystate.h" /* _Py_IsMainInterpreter() */
+#include "pycore_interp.h" // _PY_NSMALLPOSINTS
+#include "pycore_pystate.h" // _Py_IsMainInterpreter()
#include "longintrepr.h"
#include <float.h>